How do I get chrome working with selenium, using php webdriver?

前端 未结 2 389
情深已故
情深已故 2021-01-05 07:27

Everything works fine with Firefox, but I can\'t start chrome. I\'m on linux, using php webdriver bindings.

require_once \"/usr/local/src/selenium/php-webdri         


        
2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-05 08:03

    Without any blanks it worked for me on WinXP32:

    java -Dwebdriver.chrome.driver=C:\chromedriver.exe -jar selenium-server.jar
    

提交回复
热议问题