Questions tagged [selenium-webdriver]
Used for questions about using Selenium WebDriver, a browser automation framework frequently used to automate testing in a browser.
3,144
questions
0
votes
0
answers
10
views
How to unfreeze debug while getting li elements into the list using Selenium WebDriver?
I have the following technical question.
I need to get a sheet of li elements on the site. The problem is that by clicking on "View page code" the block collapsed to ul in which the li ...
0
votes
0
answers
3
views
Using Driver Factory, create reusable method
Objective:
In our automation suite, we are using the driver factory implementation and would like to have it in a reusable method.
So, In our tests, we do the following ( want to get away from this ...
-1
votes
0
answers
12
views
How to handle Calendar which we cannot inspect
<div class="form-field-value col-md-8">
<input type="text" class="form-control" id="validityDateFrom_field" name="validityDateFrom_field" ...
0
votes
0
answers
12
views
Exception in thread "main" org.openqa.selenium.remote.NoSuchDriverException in eclipse
Facing the below error while running selenium java project in eclipse
Exception in thread "main" org.openqa.selenium.remote.NoSuchDriverException: chromedriver located at C:\Users\hp\...
0
votes
0
answers
11
views
What is the best way to set up multiple tests on one webpage with Selenium Webdriver and Cucumber JS?
I am new to automated testing, Selenium and Cucumber.JS and am trying to set it up in Node.JS to run several tests on my website.
I have gotten single scenarios/test working fine, but I am a bit ...
0
votes
0
answers
5
views
How to click on the "publish item" button using vba + selenium?
So I am trying to automate inputting some "ads" in my webpage using Excel and VBA +selenium. So far I have managed to fill in all the info I need, but I can't click the button "publish ...
0
votes
0
answers
120
views
How can I extract big image using Selenium & Java correctly?
I'm using the following code and struggling with snippet, provided below:
@Override
public void run() {
// List of all articles included in the collection
List<Article> ...
-1
votes
1
answer
38
views
Extent Report generate json output
I had a requirement from my boss where need to create test summary from test report. Therefore, I need to analysis the extent report json file. How to generate the json output file?
Application A ...
-1
votes
1
answer
79
views
How to extract list of arrivals correctly using Selenium?
Good evening, colleagues!
I need help to extract list of arrivals:
I have the following snippet of the code as below one:
...
WebElement newArrivals = driver.findElement(By.xpath(
("//*[...
-1
votes
1
answer
20
views
Microsoft Account SignIn button cannot be clickable (Java Selenium Excel)
This is my code
public void AccessLogin() throws IOException, InterruptedException {
WebElement oauth = driver.findElement(oAuth);
oauth.click();
driver.get("https://login....
-1
votes
0
answers
15
views
it is posible to realize the sequence Command to automatize this POST " Google Chrome " Selenium IDE extension functionality test?
Is it possible to realize the sequence of commands when each command make an automatized process; and lets to automatize what a button make in a functionality in this case " Add to Cart " ...
-1
votes
0
answers
29
views
Pycharm|Python|configaration error|
I'm using selenium-Version: 4.15.0 and webdriver-manager-Version: 4.0.1, few days back my script stopped running and I'm getting this error
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\...
1
vote
1
answer
52
views
how to find project to contribute as automation tester?
I'm manual QA with 3 years of experience. At the same time I've learnt some automation and wrote autotests on java for selenium-based framework on the previous job. I decided to get more knowledge of ...
0
votes
2
answers
44
views
why do we need to verify test page title in selenium
I am a new to use selenium to do web automation test. Why do we need to verify the page title by assertEquals(actualTitle, expectedTitle) to do the test? The actualTitle value I copied from HTML title ...
0
votes
0
answers
26
views
how to sendkeys to an authentication popupon firefox 38.5.2
Hello all,
i'm trying to automate a webpage scenario with a pop up on firefox 38.5.2 using java. however i haver this error => Action error encountered result: false message: org.openqa.selenium....
0
votes
1
answer
26
views
Could not able to click the link from the container
enter image description here
hi all
thanks for reading my question.
I tried to automate some of my work.
I tried to get the path of Add button using xpath finder
I found three links below. I tried to ...
0
votes
2
answers
37
views
How to handle this Particular date picker scenario where i want to traverse back in selenium
In this code i want to navigate to the year 2022 and select July and print that result in the console but the issue is that in the else if condition when checking when this particular condition is ...
-1
votes
1
answer
50
views
I am learning Page Model Object, i was trying to make this program work but i am getting the "NullPointerException" error everytime. can someone help
FrameWork code:
package FrameWorks;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support....
0
votes
0
answers
67
views
How to connect to a Anti-Detect browser (Incogniton) using selenium java
I want to connect to a browser session of this specific anti-detect browser called Incogniton.
It does support Selenium browser automation, but it only supports Python. I don't know anything about ...
1
vote
1
answer
14
views
Every Vusers should pick new file
Vusers- 10, Files -250 ,Duration - 3600
Target is to upload 250 Files and file names is Payroll0, Payroll1 ,Payroll2, Payroll3,....Payroll247, Payroll248,Payroll249, Payroll250.
Using JMeter Selenium ...
0
votes
1
answer
17
views
Every Vuser should pick different file name
Using JMeter Selenium for web based application so every Vuser should pick different file.
Ex:-" User1 ---->Payroll1,User2------>Payroll2,User3------>Payroll3,User4------>Payroll4........
0
votes
0
answers
28
views
How to select drop-down value from CSV file using Apache POI - Selenium Java
I am currently working on a web form (Selenium Automation) where I need to display values from a CSV file in a drop-down input text field. I've managed to read the CSV data using Apache POI and ...
-1
votes
1
answer
32
views
Selenium - Page Object Model - Good way to identify page during a dynamic flow
My application has a possible flow to get all info from the user, where at max might consist of pages in the order A->B->C->D->E->F, each page asking for different info until we get to ...
1
vote
1
answer
126
views
CPU issues after upgrade to Selenium V4.11.0
After using selenium 4.11.0 version and launch error for 116 browser launch error was resolved.
Has anyone observed Maximum CPU utilization issue after changing to selenium 4.11.0?
I was using ...
0
votes
2
answers
838
views
Selenium version 114.0.5735.16 not working
driver = webdriver.Chrome(service=Service(ChromeDriverManager(version='114.0.5735.16').install()), options=options)
I have been using this code with selenium version 114.0.5735.16 up until recently ...
0
votes
0
answers
119
views
Element Not Interactable Exception Selenium
from selenium import webdriver
from selenium.webdriver.support.ui import Select
import time
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import ...
-1
votes
1
answer
24
views
This element is working on Jenkins previously, but not working now on Selenium Java Cucumber BDD framwork. I am facing this issue consistenly
Results :
Tests in error:
invalid selector: Unable to locate an element with the xpath expression None edit reseller content lib because of the following error:
SyntaxError: Failed to execute '...
-1
votes
1
answer
62
views
I am facing an issue on selenium java jenkins framework. Element working on Local maven project build but not working on Jenkins
And And I enter Auto Created Reseller in BA Reseller add button edit field
org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath expression None ...
0
votes
0
answers
154
views
How to get list of li elements using Selenium correctly?
I'm using Selenium in the following manner as below:
ChromeOptions options = new ChromeOptions();
/*options.addArguments("--headless");
options.addArguments("--...
0
votes
1
answer
335
views
Unable to locate element: {"method":"xpath","selector":"//*[@id="root"]/div[1]/div/main/div/section/div/section/div/div/ul/li[1]/a"}
The chrome browser version is Version 115.0.5790.171 and downloaded chrome driver version is 114
[![enter image description here][1]][1]
as driver version 115 is not available.
I'm using the x-path ...
0
votes
0
answers
16
views
Ant build not picking up the script in the target specified in build.xml
I have a few Selenium scripts in Eclipse that run just fine independently. But when I run them from build.xml, Ant says BUILD SUCCESSFUL but it doesn't run the script. The logs look like this. I run ...
0
votes
1
answer
75
views
selenium java modifications to the dom, how to reload the page to display modifications
0
I have a driver in java selenium :
driver.get(url);
I have made some changes to a WebElement with this method :
JavascriptExecutor jse = (JavascriptExecutor) driver;
jse.executeScript("...
0
votes
0
answers
24
views
Testing mail verification in organization domain
Requirement:
Users should sign up for an application using mail id and an email will be triggered to that mail account. Mail will have the verification link , once the user verifies he can onboard ...
0
votes
2
answers
464
views
How to by pass authentication(microsoft authenticator) while login into the website through selenium script
After passing login id and password, user must add code from mobile app - microsoft authenticator.
I want to bypass this code pop-up as I'm generating regression suite and it's not feasible to add ...
0
votes
1
answer
61
views
How to store a value which is not inside a tag in the SeleniumIDE?
My Problem
I'm trying to automate a login/logout test to my website using Selenium IDE and I'm facing a problem while trying to verify a value displayed in the page.
In my test I first verify the ...
-1
votes
3
answers
835
views
Trying to find span element by class and text with Selenium Java
<span class="icon-holder">
<i class="c-brown-500 ti-package"></i>
</span>
<span class="title">Vehicle Import</...
0
votes
1
answer
15
views
Visual representation of an element I am clicking in VS Code
I think remember reading this somewhere but cannot remember if it is true or not. Is there a VS Code extension that will let you visually see on the web page (or in VS Code) where exactly the mouse....
0
votes
1
answer
56
views
The selector is not recognized by selenium java
I have the following HTML code for a button:
<div class="link" data-background-color="#fb00ff" style="background-color: rgb(251, 0, 255);">
<div data-replace-...
0
votes
1
answer
30
views
JMeter Integration With Azure Pipeline and after execution of test getting as directory not found
As Part of Jmeter Integration With Azure Pipeline and after execution of test getting as below errors:
1.Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error ...
0
votes
2
answers
115
views
Web scrape - Not clickable Submit button
I'm wasting much time,come here to get help on Selenium.
5 lines VBA Code's Goal: click submit button after I put input data. *submit is in Korean.
Goal: Click submit button.
URL: https://...
0
votes
1
answer
75
views
I get a timeout error after clicking a button (not a page load) in Selenium for Java
I get a timeout error after clicking a button (not a page load) in Selenium for Java. The button triggers a recalculation and causes the cursor to spin and be unavailable for the 5-6 minutes until the ...
0
votes
1
answer
23
views
JMeter Integration With Azure Pipeline and after execution of test got as File size (11956969445) is greater than possible Buffer: 2147483647 bytes
A part of JMeter Integration with Azure Pipeline and after execution of test in Azure Pipeline got as File size (11956969445) is greater than possible Buffer: 2147483647 bytes.
Is it possible to us to ...
0
votes
1
answer
46
views
Execute same test scenarios in two different browsers simultaneously
We have created web automation scripts for particular website. And now the manual QA team requested to automate mobile responsiveness as well so we are using below code to achieve mobile ...
0
votes
1
answer
33
views
Multiple verifications under one test - if one of the verification fails how to continue to verify the remaining
I'm working with selenium/Java /TestNG Maven project.
Main function calls multiple validation from java class. If any one of the verification fails, the remaining are skipped.
From the below code if,
...
0
votes
1
answer
95
views
Why does this Selenium script sometimes fail to detect that the element has become stale?
This is a helper method we use in many places in our Selenium Java tests. The intent is to click a button and then detect that the browser has navigated away from the page by detecting the staleness ...
0
votes
0
answers
24
views
why my page is not scrolling full at the bottom in selenium testNG(java)?
The images below are my codes(Singleton,homepage and test classes) I'm new to automation and I tried to achieve POM using Singleton now my problem is whenever I try to run my test cases it navigates ...
0
votes
0
answers
73
views
Modifying Worker.navigator and Other Attributes in Selenium to Simulate Different OS
I am using Selenium with Python and attempting to trick the browser (chrome) into thinking I'm on a Windows machine when I'm actually running Linux.
So far, I have managed to modify the User-Agent to ...
0
votes
1
answer
36
views
As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline and how to add Chrome Driver Config in Azure Pipeline
Pushed the JMeter Selenium Scripts into Azure GIT Repository, created the pipeline and run the pipeline.
Agents added are: JMeter, Command Line, Publish pipeline artifact and publish and download ...
0
votes
0
answers
35
views
Can't click on element in selenium
I am trying to click on this element in selenium for login but it wont work for me. This is my code for it
driver.FindElement(By.XPath("//div[@id='otherTile']")).Click();
But it wont work. ...
0
votes
1
answer
25
views
As part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline but Application is not running at Azure Pipeline
Pushed the JMeter Selenium Scripts into Azure GIT Repository, created the pipeline and run the pipeline.
Agents added are: JMeter, Command Line, Publish pipeline artifact and publish and download ...