Questions tagged [selenium4]

Selenium 4.0 is a new version of open-source tool/framework for automating web browsers. When using this tag, also include other tags for the specific components you are using, e.g. gecko driver. It does support all latest browsers.

Selenium is an umbrella project for a range of tools and libraries that enable and support the automation of web browsers.

It provides extensions to emulate user interaction with browsers, a distribution server for scaling browser allocation, and the infrastructure for implementations of the W3C WebDriver specification that lets you write interchangeable code for all major web browsers.

Selenium 4.0 is the upcoming new version of .


Change Logs

Link to the changelongs of the selenium clients:


Reference Links

195 questions
0
votes
1 answer

Get response body data for a Network request in DevTools in java

Please help to get the response body(as json) for an intercepted request using Devtools Network. Below is the code I could attempt. Thanks! devTools.addListener(Network.requestWillBeSent(), entry -> { Request…
0
votes
2 answers

How to select an option from the auto suggestions using Selenium and Python

I'm trying to select an option from the auto-suggestions after sending a text within the search field of the Selenium documentation website. But I'm unable to find any of those suggestions. Code…
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
0
votes
1 answer

Selenium 4, Microsoft Edge(chromium) on Ubuntu

I am currently trying to get my automated tests working on chromium edge on ubuntu. My current setup is this: The setup is the following: The browser is in a docker container with Ubuntu running The hub is on the official Selenium 4 docker…
0
votes
1 answer

Selenium 4 alpha Maven dependency still downlaoding 3.1.4 sources

I have a Selenium-Java project that I want to update to Selenium 4 Alpha 6. I have removed previous POM references to all selenium dependencies and have even hard set the desired version number. No suitable constructor errors are thrown for this…
SystemsInCode
  • 629
  • 7
  • 19
0
votes
0 answers

I would like to intercept network requests using selenium 4 and save them into a json file

I am using selenium in order to intercept network requests , now I wrote a code which listen and do intercept requests but I am struggling in writing all the requests into a json file, this is my code: public class SeleniumFourFeaturesTest { …
0
votes
1 answer

org.openqa.selenium.NoSuchSessionException: Session ID is null. Using WebDriver after calling quit()? error using ChromeDriver Selenium through Java

Can someone please help with the below, I have a maven project set up on eclipse and each time I run the test, it runs fine on chrome but I get the below error on junit console: org.openqa.selenium.NoSuchSessionException: Session ID is null. Using…
-1
votes
0 answers

UnsupportedOperationException: getDomAttribute when upgraded to selenium 4

Got the following exception with new Select(webelement) after upgrading to Selenium 4.11.0 java.lang.UnsupportedOperationException: getDomAttribute at org.openqa.selenium.WebElement.getDomAttribute(WebElement.java:126) at…
vini007
  • 595
  • 1
  • 6
  • 13
-1
votes
1 answer

AttributeError: 'WebDriver' object has no attribute 'find_element_by_id'

The solution to this problem is not sending keys I want a solution, This is the website link: https://mahmoud-magdy.com/register driver =…
-1
votes
1 answer

BrowserStack/Appium: Getting error after updating the selenium version to 4

I am running my app automation on Browserstack and it was working fine until I upgraded the Selenium and Java client versions. Below are the upgraded versions: Java Client - 8.1.1 Selenium - 4.2.2 Error:…
-1
votes
1 answer

Selenium 4 : How to capture screenshot

I need an After method to capture a screenshot compatible with Selenium 4 Java
Mehmet
  • 1
  • 1
-1
votes
1 answer

AttributeError: 'list' object has no attribute 'click' using find_element(By.Xpath) Selenium and Python

There was a change to the find_element_by_xpath() to find_element(By.Xpath) and now the click is not working. Code trials: search_btn = self.driver.find_elements( By.XPATH,…
-1
votes
1 answer

on Select getElementDomAttribute method throwing UnsupportedCommandException

After updating to Selenium 4 -beta-4 I am getting UnsupportedCommandException when trying to access Select element (happens on Remote Run(Linux), on Local run everything is ok(MacOs))
-1
votes
5 answers

How to click on an input element using Selenium and Python

I'm trying to click on the tab with text as Python within the Selenium documentation website. HTML: But I'm facing…
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
-1
votes
1 answer

How to open a new window using the new method WindowType of Selenium 4

The release notes of Selenium v4.0.0.0-alpha-1 mentions about: * Added command to open a new window. Source code: public static WindowType fromString(String text) { if (text != null) { for (WindowType b : WindowType.values()) { …
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
1 2 3
12
13