简体   繁体   中英

WebDriverManager in Selenium C# is not working

I am getting below exception when I use webdriver manager in c#. Can someone please have a look and advise?

Code used:

new WebDrivereManager.DriverManager().SetUpDriver(new ChromeConfig());

Result:

The remote server returned an error:(503) Server unavailable

Reference:

https://www.qafox.com/selenium-c-sharp-webdrivermanager-configuration/

Selenium must be running in the machine, otherwise the error 503 appears.

Check Selenium server and retry.

before install WebDriverManager packge This is the correct code: C#

new WebDriverManager.DriverManager().SetUpDriver(new ChromeConfig());

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM