请教大家Selenium怎么在无图形界面的Linux服务器上截图,我把截图的脚本部署到Ubuntu Server上之后,运行提示我:selenium.common.exceptions.WebDriverException: Message: Service /home/sby/geckodriver unexpectedly exited. Status code was: -11。于是百度到了很多,试过xvfb,还是报同样的错误
我的系统是Ubuntu Server 16.04 64位
请教大家Selenium怎么在无图形界面的Linux服务器上截图,我把截图的脚本部署到Ubuntu Server上之后,运行提示我:selenium.common.exceptions.WebDriverException: Message: Service /home/sby/geckodriver unexpectedly exited. Status code was: -11。于是百度到了很多,试过xvfb,还是报同样的错误
我的系统是Ubuntu Server 16.04 64位