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
1 view

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
-1 votes
0 answers
9 views

How to use the same browser instance to run multiple gherkin tests?

below is my 1st step definition for the the step "And Open chrome Desktop and Log in with 'patient_006' user name and 'Minimed@1' password for WebView" // @dart=2.9 import 'dart:async'; ...
Preeti Maddi's user avatar
0 votes
0 answers
31 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 votes
0 answers
19 views

When I executing the following code [closed]

Could someone help me to find the solution or reason for this?
subhashree sahoo's user avatar
0 votes
1 answer
10 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
12 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
-1 votes
0 answers
27 views

Run module test project from Parent Project

I had a parent project with several modules project called module Bulitv3, NST, BHarian, and FMT. Each of them has their own test manager. How to run from the parent project test manager called ...
nicholas's user avatar
-1 votes
0 answers
32 views

Consolidate Extent Report into single report with module project

I had several independent IDEA maven project which run perfectly fine. I need to combine them into one single parent project due to consolidate reporting issues. The purposes of create such multi ...
nicholas's user avatar
0 votes
0 answers
17 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
24 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
68 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
630 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
69 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
19 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
33 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
91 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
  • 117
0 votes
1 answer
112 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
10 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
0 answers
40 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
23 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
191 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
57 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
344 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
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....
user5821872's user avatar
0 votes
1 answer
52 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
24 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
83 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
0 votes
1 answer
37 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 ...
Jason Krynicky's user avatar
0 votes
1 answer
19 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 ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
42 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 ...
Darshani Kaushalya's user avatar
0 votes
1 answer
30 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, ...
Padmaja's user avatar
0 votes
1 answer
70 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 ...
Nzall's user avatar
  • 475
0 votes
0 answers
18 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 ...
Shabbin Hossain's user avatar
0 votes
0 answers
41 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 ...
Zefnes's user avatar
  • 1
0 votes
1 answer
26 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 ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
0 answers
24 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. ...
ghosty's user avatar
  • 1
0 votes
1 answer
24 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 ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
19 views

As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline and how can I add Plugin Manager in Azure Pipeline

As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline and how can I add Plugin Manager in Azure Pipeline. Someone suggested the link is https://jmeter-plugins.org/wiki/...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
22 views

As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline and how can I add Headless Browser in Azure Pipeline

As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline and how can I add Headless Browser in Azure Pipeline. Someone suggested the link is https://www.blazemeter.com/blog/...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
36 views

As Part of JMeter WEB DRIVER(Selenium Scripts) IntegrationWith Azure Pipeline and how can I add jp@gc- chrome config sampler in Azure Pipeline

As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline.I have pushed the scripts into Azure GIT Repository and how can I add jp@gc- chrome config sampler in Azure Pipeline? ...
Bhaskara Reddy Dwarampudi's user avatar
-1 votes
1 answer
60 views

How to push my JMeter WEB DRIVER(Selenium Scripts) project to Azure Github Repository and run it via Azure Pipeline

Company requirements is to integrate JMETER WEB DRIVER(SELENIUM SCRIPTS) with AZURE PIPELINE so could anyone please help me the easy way process please? In the VM the installed software's are below: 1....
Bhaskara Reddy Dwarampudi's user avatar
0 votes
1 answer
527 views

Chrome driver and chrome browser version is matching but selenium tests are failing

I am trying to resolve a compatibility issue between Chromedriver and Chrome browser, but none of the solutions I have tried have worked so far(mentioned below). I have latest chrome driver and chrome ...
Megha's user avatar
  • 73
0 votes
0 answers
20 views

Course suggestion for BDD Framework using POM and Python (Selenium Automation)

I tried to find an automation course that includes bdd framework with pom and Pyhton but I am not able to find any course regarding can you help me to find a link of such course
Hassan Bari's user avatar
0 votes
0 answers
18 views

Why I can't select desired item using webscrapping Python

I would like to ask what I am doing wrong that I always select wrong item in dropdown list while webscrapping website. I am using Selenium, Pyhton. I need select item which contains (EUR). At this ...
Zymantas's user avatar
0 votes
0 answers
98 views

Webdriver manager causes UnicodeEncodeError: 'charmap' codec can't encode character '\u258e' in position 458: character maps to <undefined>

I am new to Python, Selenium and automated testing. Working through a course, I encounter this error when Webdriver manager is required to update any browsers used (Chrome, Firefox or Edge): ...
Red's user avatar
  • 1
0 votes
0 answers
15 views

Testing load of a highchart using python and selenium

I am writing a program that must screen some charts, the issue is that I do not know how much time a graph expends to load, it could be seconds or minutes. How can I make an appropriate wait, that ...
pedro's user avatar
  • 1
0 votes
0 answers
54 views

Can't select proper item in dropdown list using Selenium Python

I would like to ask how I could select item in dropdown list within a suffix (EUR). I tried several ways but it selects wrong item, all time same item even if I change xpath. How to resolve it? I have ...
Zymantas's user avatar
0 votes
0 answers
28 views

Ashot compatibility with Windows zoom

When i try to use Ashot to take screenshots of errors on my pc i have a probleme where the images of the website arent taking completly. What we have when we execute the code : What we want : When i ...
Yan's user avatar
  • 11
-1 votes
1 answer
22 views

I have a method where i have taken the rowcount of 10 records on page load and 15 records after changing the page no to 15 question how to validate

I have a method where i have taken the rowcount of 10 records on page load and 15 records after changing the page no to 15 question here is how to validate by creating a Assert method seperatly in ...
user56056's user avatar
0 votes
1 answer
86 views

Calender is clicking on the next button getting element click intercept exception it just clicks once on the next button in the calender

Steps: I am trying to click on the Calendar and select the Date from the Calendar and also select year and month but it just clicks once in the next button after opening the calendar and leads to ...
user56056's user avatar

1
2 3 4 5
63