Questions tagged [selenium-webdriver]

Used for questions about using Selenium WebDriver, a browser automation framework frequently used to automate testing in a browser.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How to get HTML code in <iframe> with "srcdoc" attribute by selenium Java?

I need to access the page elements that are in the iframe with the src Doc attribute and I'm not getting the full content. Page code: Java code with WebDriver: This is turns out to get: But I need ...
Yulyan Paulouski's user avatar
-1 votes
0 answers
42 views

Automated UI testing against a table whose editable elements change over time - dynamic xpath?

Context: We've got a table on a webpage that displays a varying amount of rows based on the input request. Data within the table can be clicked on to then make edits. The data is time-based and data ...
Moorpheus's user avatar
  • 263
-1 votes
0 answers
14 views

Where is the source code and/or RubyDocs for the Ruby selenium-devtools gem?

I installed the ruby gem selenium-devtools, but cannot find the code anywhere on Github. This would be very useful because of the number of different methods that can be used to interact with the ...
kroe761's user avatar
  • 159
0 votes
3 answers
58 views

How to use java classes of one Selenium project into Another project in Eclipse?

I have around 10 Selenium/Java projects in Eclipse IDE and there is "utils" package and Automation framework classes that i manually copied to all projects and all those have different ...
qa235's user avatar
  • 1
0 votes
1 answer
37 views

Get code from email - java

I have an automation flow where there is a need retrieve a code from an email and input it into as a verification code. As its a demo I could use any temp email and grab it but I am wondering now what ...
Keith's user avatar
  • 11
-1 votes
1 answer
21 views

Breadcrumb Element not visible when site opened through Automation

I have to check the breadcrumb element (Dashboard) on a webpage. When opened manually, the Dashboard element appears with icons and is operational, but when run through Java Selenium Eclipse Script, ...
Thara B C's user avatar
1 vote
1 answer
71 views

NET::ERR_CERT_AUTHORITY_INVALID while recording from playwright

While I'm trying to record the web based application using Playwright tool and after launching the application getting as NET::ERR_CERT_AUTHORITY_INVALID . After recording and in the playwright tool ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
45 views

Web Scrape and Download Images with Python Xpath Problem

I am trying to download all images that appear in Google image search I am using "Selenium" with Python, Pycharm When I check Chrome developer tool to get Xpath i got the following: //[@id=&...
Kayle Rus's user avatar
0 votes
0 answers
16 views

Selenium on windows form button click event - Windows form is no longer clickable after launching web browser

I was trying to integrate a selenium test with a windows form app. Code works fine for a button click event. But after chrome driver get open I cant click any thing at the windows form application. Or ...
ChathuD's user avatar
  • 2,149
0 votes
1 answer
50 views

Python & Selenium: Finding and activating a dropdown list, then selecting a list item

I'm writing a Python program (with Selenium) to automatically download data from a website and then log out, but cannot figure out how to get to the logout menu item, which is in a drop-down list. I'...
BillR's user avatar
  • 1
0 votes
0 answers
61 views

Selenium - Safari Webdriver click not working

I'm taking my first steps in Selenium and I'm having trouble with clicking on elements in Safari: driver.find_element(By.NAME, value="checkbox1").click() doesn't do anything by the looks of ...
eilchner's user avatar
0 votes
0 answers
37 views

How do I properly dismiss an alert in JavaScript with Selenium Webdriver?

I am using Cucumber.js and Selenium Webdriver on Node.js. I am testing a page that has an alert pop-up when the page loads - it asks for permission to use the user's location which I have disabled in ...
MeltingDog's user avatar
0 votes
1 answer
94 views

How to get all existing li-hidden-elements under ul tag using Selenium while loading JS?

I'm struggling with the following code using Selenium 3.141.59 and Java 11: @Override public void run() { WebDriverManager.chromedriver().setup(); ChromeOptions options = new ChromeOptions(); ...
invzbl3's user avatar
  • 121
0 votes
1 answer
79 views

How to unfreeze debug while getting hidden-li elements of DOM into the list using Selenium WebDriver?

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 elements are empty. Suppose the <li> ...
invzbl3's user avatar
  • 121
0 votes
0 answers
15 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 ...
Michael J Frazier's user avatar
0 votes
0 answers
409 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\...
Resha's user avatar
  • 1
0 votes
1 answer
70 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 ...
MeltingDog's user avatar
0 votes
0 answers
28 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 ...
Joannem Ruiz's user avatar
0 votes
0 answers
138 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> ...
invzbl3's user avatar
  • 121
-1 votes
2 answers
144 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 ...
nicholas's user avatar
  • 135
-1 votes
1 answer
96 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( ("//*[...
invzbl3's user avatar
  • 121
-1 votes
1 answer
35 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....
Nethmi Edirisooriya's user avatar
1 vote
1 answer
65 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 ...
domagile's user avatar
0 votes
4 answers
98 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 ...
user3559982's user avatar
0 votes
0 answers
28 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....
Landry Messina's user avatar
0 votes
1 answer
29 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 ...
vivek rajagopalan's user avatar
0 votes
2 answers
53 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 ...
Krishna Sriram's user avatar
-1 votes
1 answer
53 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....
Amit Dwivedi's user avatar
0 votes
0 answers
111 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 ...
likenzy's user avatar
1 vote
1 answer
18 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 ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
24 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........
Bhaskara Reddy Dwarampudi's user avatar
0 votes
0 answers
50 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 ...
Anony's user avatar
  • 1
-1 votes
1 answer
87 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 ...
saltine springs's user avatar
1 vote
1 answer
232 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 ...
Likitha Hs's user avatar
0 votes
2 answers
1k 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 ...
CanB's user avatar
  • 1
0 votes
0 answers
231 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 ...
Pammvi Group's user avatar
-1 votes
1 answer
28 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 '...
Ammar Ahmed's user avatar
-1 votes
1 answer
111 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 ...
Ammar Ahmed's user avatar
0 votes
0 answers
248 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("--...
invzbl3's user avatar
  • 121
0 votes
1 answer
605 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 ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
0 answers
20 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 ...
Ravi Teja's user avatar
0 votes
1 answer
163 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("...
user3021955's user avatar
0 votes
0 answers
25 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 ...
PRAGHALYA GOPAL's user avatar
0 votes
2 answers
878 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 ...
Helly's user avatar
  • 1
0 votes
1 answer
88 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 ...
Marc Agnetti's user avatar
-1 votes
3 answers
2k 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</...
Robi's user avatar
  • 1
0 votes
1 answer
19 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....
user5821872's user avatar
0 votes
1 answer
58 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-...
AAa's user avatar
  • 1
0 votes
1 answer
51 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 ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
2 answers
144 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://...
rose1205's user avatar

1
2 3 4 5
64