Selenium WebDriver - Could not find Chrome binary

后端 未结 7 1192
轮回少年
轮回少年 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:25

    1. I reinstalled chrome and made sure it exists in the given folder.
    2. Made sure the selenium project is in the repos and not on desktop
    3. Updated all the drivers using Manage Nuget Packages

提交回复
热议问题