Here你可以看到如何使硒獨立服務器使用chromedriver。我的問題是,哪個驅動程序包含在Selenium Standalone Server jar包中?哪些驅動程序在Selenium Standalone Server中出現?
我應該使用瀏覽器驅動程序代替Selenium Standalone Server jar中包含的驅動程序嗎?
我知道,Firefox的Selenium團隊recommend使用Firefox驅動程序,但其他瀏覽器呢?
Here你可以看到如何使硒獨立服務器使用chromedriver。我的問題是,哪個驅動程序包含在Selenium Standalone Server jar包中?哪些驅動程序在Selenium Standalone Server中出現?
我應該使用瀏覽器驅動程序代替Selenium Standalone Server jar中包含的驅動程序嗎?
我知道,Firefox的Selenium團隊recommend使用Firefox驅動程序,但其他瀏覽器呢?
你已經指出了how to make Selenium Standalone Server use the chromedriver
的職位是通過建立Selenium Grid Hub
和Selenium Grid Node
使用Selenium Standalone Server in Grid configuration
即示範。
Selenium 3.x版本不支持Selenium Standalone Server jar中的任何驅動程序。
背後Selenium Team
推薦使用geckodriver
(火狐)和Mozilla Firefox Browser
,因爲這兩個geckodriver
和Mozilla Firefox Browser
的主要原因如下W3C
規格。
也值得一提,Chrome和Chromedriver一樣。 – sircapsalot
@sircapsalot謝謝,我總是看到你用'Selenium'和'gecko'組:)激活:)我簡直不敢相信你會在你的評論中提到'chrome'或'chromedriver'。等待我的下一個視頻公開Google Analytics中的漏洞:) – DebanjanB
您引用了文檔:「特定於語言的客戶端驅動程序」,它與完全無關的問題有關。有一件事是用來連接到Selenium Server的「特定於語言的客戶端驅動程序」,另一個完全不同的是Selenium服務器使用的瀏覽器驅動程序。所以,我的問題仍然沒有解決。 –