119 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
204
views
Chrome Headless mode resolution issue
I have been working with BDD Test automation since 3 years now that used Neodymium 4.1.5 version with Java 11. recently since 2 months I am facing issue with Chrome Headless mode execution where ...
0
votes
0
answers
56
views
Selenium Java - disable WebAuthn functionality in ChromeDriver
Is there a way to disable the WebAuthn-API in the ChromeDriver?
I tried to add an extension, but this did not work.
final ChromeOptions options = new ChromeOptions();
options.addArguments("--load-...
0
votes
1
answer
58
views
ChromeDriver.findElements() always takes 2 seconds when the target element is not found
I want to instantly determine if an element is present in the page. I wrote this simple Selenium Java code. The driver is an instance of ChromeDriver.
By by = By.id("non existent element");
...
1
vote
1
answer
161
views
Handle dialogs with Selenium 4 when BiDi is enabled
The BiDi introduced in Selenium 4 sounds interesting.
But when I turn it on with options.setCapability("webSocketUrl", true); I have trouble with Alert, Model, and Prompt. The old way driver....
0
votes
1
answer
170
views
Getting Exception / Error while running a Test using testNG
Getting below error if I try to run the test using testNG -
[RemoteTestNG] failed to get TestNG version from class: java.lang.IllegalArgumentException: invalid version "[WORKING]": non-...
1
vote
0
answers
46
views
Instagram Login Automation Testing with Selenium and Java
I'm new to software testing and below is the code for the automation testing. Although the automation testing steps are done in chrome correctly, the message is displayed as testing is failed. I run ...
0
votes
1
answer
26
views
How to constraint div container using dynamic value (example - Order ID generated) to verify the nested element value during runtime in Selenium Java?
OrderDetailPage
I have a webpage where Order generated gets displayed in list. I have constraint for the Order details section which has the newly generated Order ID and verify for the Order date and ...
0
votes
0
answers
362
views
Selenium Java: no such element: Unable to locate element:
Hi There I am getting "no such element: Unable to locate element error", it's been running successfully all of sudden I am seeing this issue nothing has changed from UI side same elements.I ...
0
votes
1
answer
69
views
Error message--how to deconstruct and read
I'm new to coding, and I am not able to understand the error message in Eclipse,
Can you please tell me the steps to read an error message?
enter code herejuin 30, 2024 6:28:23 P.M. org.openqa....
0
votes
2
answers
153
views
Find Element by id with selenium java
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui....
1
vote
2
answers
146
views
find an element by Xpath using selenium Java
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui....
0
votes
1
answer
507
views
how to make my selenium code work ...open the browser and type google.com
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class ...
0
votes
0
answers
62
views
Need to locate XPath for label element (which is not interactable in UI)
<div class="custom-control custom-checkbox" style="padding-left: 0px; margin-top: -4px !important;" xpath="1">
<input type="checkbox" autocomplete=&...
0
votes
2
answers
671
views
How to disable chrome notification popups while automating in selenium java?
How to disable chrome notification popups
I have tried that below code but its not working
ChromeOptions option = new ChromeOptions();
option.addArguments("--disable-notifications");
option....
0
votes
1
answer
374
views
Selenium Java - code worked in Chrome devtools but not in Selenium JavascriptExecutor
Hello I'm trying to get this value from chrome console here but Selenium give me this error.
[main] ERROR io.qameta.allure.util.NamingUtils - Could not find parameter color
org.openqa.selenium....