Questions tagged [selenium-edgedriver]

Selenium EdgeDriver is a WebDriver implementation that controls the Microsoft Edge browser using a MicrosoftWebDriver server.

96 questions
0
votes
0 answers

Create a selenium test for a specific profile in selenium edge

I would want to run a selenium(Python) test on a specific profile in edge.I passed the location of the profile as options.add_argument("user-data-dir=path of profile") but returns an error AttributeError: module 'selenium.webdriver.edge.options'…
0
votes
0 answers

Pdf file download in edge instead of opening in browser using Selenium

I have worked on chrome using chromeOptions = webdriver.ChromeOptions() prefs = {"plugins.plugins_disabled" : "Chrome PDF Viewer"} chromeOptions.add_experimental_option("prefs",prefs) chromedriver = "path/to/chromedriver.exe" driver =…
0
votes
1 answer

How to replace Microsoft Edge Legacy with Edge Chromium?

I am facing issue while launching my selenium script for edge browser. I followed below steps- Pre-Condition- I had Edge Legacy-Version 40 already installed on my system 1. Installed Edge Chromium Version LATEST-83... 2. Ran the automation…
0
votes
1 answer

Add latest Microsoft Edge (Win10) browser to Selenium Grid

Tried by adding the below code. "capabilities": [ { "browserName": "MicrosoftEdge", "platform": "WIN10", "maxInstances": 1 }, ] and passed it to command line start java…
0
votes
1 answer

EdgeDriver (v81) no longer supports ability to pass in DriverService as a parameter

Since Edge has been upgraded to v80, it has introduced a "breaking change" (https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium?tabs=c-sharp) to our automation. This is documented by Microsoft in the attached link. Ideally I would…
0
votes
1 answer

Can anyone help me to get a value from .XML

I've executed my code in selenium-java and i need a value of Identifiers(2nd line, not the 4th one) from .XML which is opened in MS edge browser. My XML: 18753
0
votes
0 answers

C# Programmatically opening a cmd.exe and writing a command into console when UseShellExecute is true

I've tried the snippet of code: Process p = new Process(); ProcessStartInfo info = new ProcessStartInfo("cmd.exe"); info.UseShellExecute = true; info.Verb = "runas"; …
vfirma
  • 160
  • 2
  • 10
0
votes
1 answer

Microsoft Edge WebDriver- Unable to use default app data profile for Automation - Edge Ver 80

I have to use existing user login session, we will require EDGE user profile, as we observed EDGE driver doesn't use the existing user data profile it is creating a new profile every time EDGE Default Profile…
0
votes
1 answer

org.openqa.selenium.WebDriverException: unknown error: cannot find MSEdge binary error using EdgeDriver and Selenium on Mac through Java

I have trouble running MS Edge test on MAC using Selenium Remote web driver. I tried to set System property for edge binary as below: dc = DesiredCapabilities.edge(); System.setProperty("webdriver.edge.driver",…
0
votes
2 answers

Python (Selenium) with MS Edge browser: 'Connection aborted.', ConnectionResetError(10054, ...) "Microsoft Web Driver has stopped working"

Every time I run my python code, the Edge browser opens but does not load the URL. Then Windows system displays a dialog saying: Microsoft Web Driver has stopped working. A problem caused the program to stop working correctly. Windows will close…
0
votes
1 answer

Can't run EdgeDriver automated tests: Azure DevOps' VsTest VM has no Edge binary in default install location?

I'm running an automation suite in Azure DevOps, using the VsTest task. The pipeline is running on a windows 2019 machine. I want to add the option to run the tests against Edge. Locally, I'm using the msedgedriver.exe binary for Edge version 79,…
0
votes
2 answers

An unhandled exception of type SeleniumWebDriverException occurred in WebDriverdll A exception with a null response was thrown using EdgeDriver

I am using Selenium in C# with the Edge driver however when I run the code I receive the following error. Using OpenQA.Selenium; using OpenQA.Selenium.Edge; class HomePageTests { static void Main(string[] args) { { …
0
votes
1 answer

Is it possible to use Edge in mobile emulation?

Just I would like to ask is it possible? I would like to use mobile emulation on EdgeDriver, but I don't know how. I am using Java and Selenium.
0
votes
0 answers

Microsoft Edge Driver - InvalidSelectorException for xpath which is working for all other browsers

I am running my tests in all the browsers and facing an issue while working with Edge browser. I have a code to find an element on page like below WebElement element = driver.findElement(By.xpath("//div[contains(@title,'UserName')]")); Above code…
0
votes
0 answers

Selenium Java - Cannot Load URL in Microsoft Edge version 18

My Edge Version: 18.18362 OS Build Version: 18.18362 Installed Edge Driver with the command DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0 Selenium Java code to Initialize browser…
Arjun Dev
  • 356
  • 2
  • 14