How to instantiate InternetExplorerDriver with Selenium WebDriver using C#

后端 未结 5 1289
抹茶落季
抹茶落季 2021-01-17 18:45
new InternetExplorerDriver();

But I could see exception as below:

OpenQA.Selenium.DriverServiceNotFoundException was unhandled by u         


        
5条回答
  •  悲哀的现实
    2021-01-17 19:11

    As the exception says, you need to download IEDriverServer either 32 or 64 bit depending on IE you have and make sure it is available in our path. That is when you type IEDriverServer.exe on command line it should be resolved. Try that

提交回复
热议问题