Selenium WebDriver - Could not find Chrome binary

后端 未结 7 1199
轮回少年
轮回少年 2021-02-14 09:45

I\'m trying to get Selenium tests running with Chrome. I\'m using C#.

var options = new OpenQA.Selenium.Chrome.ChromeOptions();
options.BinaryLocation = @\"C:\\U         


        
相关标签:
7条回答
  • 2021-02-14 10:30

    I encountered the same issue for the php web driver.

    Please install the chrome to the default directory, the chrome installations would automatically install the app to the default folder:

    %HOMEPATH%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe

    Please check this wiki page for more information. http://code.google.com/p/selenium/wiki/ChromeDriver

    0 讨论(0)
提交回复
热议问题