我正在尝试在Chrome for the googlecolab的selenium模块(python)中运行webdriver资源。首先,我在解析命令(selenium.webdriver.Chrome('/chromedriver.exe')),中的chromedriver.exe文件时遇到了问题,克服了我发现运行chromedriver.exeWebDriverException:消息:'
我在这个线程How to use Selenium on Colaboratory Google?中使用了@korakot-chaovavanich提供的代码。我真的需要一个解决方案,让它在谷歌Colab上工作。 # install chromium, its driver, and seleniumwd.get("https://www.google.com")
print(wd.page_source) #
我试图在GoogleColab上使用Selenium,然后发生了一个错误。错误消息为"chromedriver' executable needs to be in PATH."apt install chromium-chromedriver
!cp /usr/lib/chromium-browser/chromedriver /usr/bi
在安装了selenium模块并解压缩chromedriver_win32.zip之后,我尝试在colab上练习selenium模块。我打字,driver = webdriver.Chrome()Message: 'chromedriver' executable needs to be in PATH.Please see
htt