selenium-edgedriver

Microsoft Edge WebDriver - Unexpected error. Unknown error

社会主义新天地 提交于 2019-12-04 09:25:58
I am getting the following exception when trying to get Microsoft Edge automation to work with Selenium: OpenQA.Selenium.WebDriverException: Unexpected error. Unknown error I am using the Selenium.WebDriver.MicrosoftDriver NuGet package, version 17.17134.0. My code is simply the constructor: var driver = new EdgeDriver(); I have tried various overloads that are suggested: var driver = new EdgeDriver(new EdgeOptions()); var driver = new EdgeDriver(pathToMicrosoftWebDriverExecutable); No luck. I made sure that the WebDriver version from Microsoft matched the Edge version on the machine running

Open Edge in InPrivate mode using Selenium

旧巷老猫 提交于 2019-12-01 08:56:00
I am using Selenium 3.4 to launch Edge using the Microsoft WebDriver which is now maintained by Microsoft. Is there any way I can launch the Browser in InPrivate mode using Selenium? I have searched for answers but couldn't find any. The closest I got was How to start Edge browser in Incognito mode using selenium remote webdriver? The solution mentioned there doesn't work. It just shows the same tab as would be shown in InPrivate, but the window isn't a private one. As such, the information is stored and the session is not private. Shubham Jain Use the below code, employing java.awt.Robot to

Is there a Selenium WebDriver available for the Microsoft Edge browser?

情到浓时终转凉″ 提交于 2019-11-26 15:57:36
问题 As of the date of this post the name "Microsoft Edge" has just been officially announced as the default browser for the new Windows 10. It may be premature to ask but I would like to know if a new Selenium WebDriver is available for it and if not, if there is any telling how long we might expect to wait until we see one developed? (A technical preview of Windows 10 has already been out so this doesn't seem like a foolish question to me.) 回答1: Yes, there is a WebDriver implementation for