Questions tagged [selenium-edgedriver]

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

168 questions
1
vote
2 answers

How to enter Immersive Reader on Microsoft Edge through Selenium?

On a high level, does anyone know how to enter the Immersive Reader mode on Microsoft Edge when it is available for a given webpage through Selenium? My aim is to load up a page, enter Immersive Reader, and save the page's source code to disk. I'm…
1
vote
1 answer

Stuggling locating elements to click with Selenium in python - code had worked initially but unexpectedly stopped

I'm using Selenium to gather the difference in total price of several items (including taxes and shipping cost) from a Shopify based website. I've so far successfully been able to add items to my cart. This requires adding the selected items to the…
1
vote
0 answers

WebDriver opening multiple pages in selenium test

I just got back into selenium testing and I'm using the basics: initialized on top is public static WebDriver driver=null; and then depending on what is set in a properties file, it loads either the chromedriver or…
1
vote
1 answer

Selenium Can't save the session EdgeDriver c#

i use this code to open edge browser or chrome browser : int ProcessID = -1; public enum BrowserType { Chrome=1, Edge=2 } public void OpenChrome( string Website, int TimeToWaitInMinutes, string…
1
vote
3 answers

Edge: Unable to handle Sync Your Profile dialogue using selenium JAVA

I have an automation test suite that runs perfectly on Chrome. Now I want to extend my test runs on other browsers EDGE, FF. Problem: When I try to launch EDGE browser I'm getting dialogue 'Sync Your Profile'. I tried with different edge options but…
1
vote
0 answers

how to use selenium with UWP webview

How to do use Selenium to interact/automate with a UWP webview? I know about winappdriver, but I have a lot of already written code that I built on selenium webDrivers. Is there a way for me to attach a webDriver instance to Webview in UWP?
ecco88
  • 606
  • 2
  • 7
  • 16
1
vote
1 answer

How to get the data from the elements tab in selenium?

I'm scrapping a page in selenium (using the edge driver) and I've noticed discrepancies between the information under the elements tab in the dev window found here: and the data returned from browser.page_source(), is there a way to get the data…
Isiah
  • 195
  • 2
  • 15
1
vote
1 answer

What is the VBA/Selenium coding in order to turn off 'remote debugging' so I can open Edge in 'Internet Explorer Mode'?

I can open an instance of Edge in excel using VBA coding: Dim obj as New WebDriver obj.Start "edge" obj.Get…
1
vote
0 answers

Selenium not able to open MS Edge Chromium browser, getting error as :- unknown error: MSEdge failed to start: crashed."

I am trying to open MS Edge Chromium version browser via Selenium Java. It gives error:-'Exception org.openqa.selenium.WebDriverException occured while creating MSEdge driver instance.' errorDetails='org.openqa.selenium.WebDriverException: unknown…
1
vote
0 answers

Admin forced profile login within Selenium using Edge in Python

I'm designing a tool using Selenium with Edge in python. I've got the following code. from msedge.selenium_tools import Edge, EdgeOptions edge_options = EdgeOptions() edge_options.use_chromium =…
1
vote
0 answers

How to allow windows GUI to run Selenium using Java when there's no user logged on

I have developed a Java app that will automatically download a file from a certain website. It is working fine if you will run it manually in cmd on my local machine and on the server. However, when I tried to run the Java app using Task Scheduler…
1
vote
1 answer

Why I'm getting StaleElementReferenceException on just retrieved elements by Driver.FindElementsByCssSelector();

I use edge webdriver to find element on page (SPA), and immediately simulate click. However, I'm getting OpenQA.Selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document. In case the element was…
Liero
  • 25,216
  • 29
  • 151
  • 297
1
vote
1 answer

TypeError: __init__() got an unexpected keyword argument 'options' while using EdgeOptions

Hi I trying to run the below code for Edge Driver version Version 90.0.818.42 which is Chromium Based: from selenium import webdriver from msedge.selenium_tools import EdgeOptions dirpath = os.getcwd() edge_driver_path_used = dirpath +…
1
vote
2 answers

How to disable SmartScreen (safebrowsing in edge) on C# Selenium Edge Chromium?

I'm trying to run some selenium C# end-to-end tests on Edge Chromium browser. One of the tests does a download check, basically it downloads a xml file and check whether it exists in the downloaded location. I'm using Microsoft.Edge.SeleniumTools…
1
vote
1 answer

How do I run the dev releases of Edge and msedgedriver with Python, Selenium, and Linux in TravisCI?

As a side project, I wrote a Python module that's basically a wrapper for Selenium. I've tested all the functionality with Chrome and Firefox only and I'm now trying to add Edge. I'm having a problem getting my tests to pass in my Travis CI (Linux)…
1 2
3
11 12