Skip to main content

All Questions

0 votes
4 answers
9k views

Assert.assertFalse(driver.findElement(By.xpath("element's xpath")).isDisplayed(), "Bug!! The element is appeared"); When i run my code with the above script, my scripts are failing with ...
1 vote
1 answer
71 views

I am trying to take a full screenshot of the whole html-page using the following code - I would like to do this with selenium (not pyppeteer) I am searching for a python solution (not Java) I am ...
1 vote
1 answer
316 views

Last week Mozilla's geckodriver released the new 0.35.0 version, and since then the tests I'm running using Jenkins aren't running. In the console output I've noticed the error that I put on the title:...
0 votes
0 answers
22 views

I have configured a selenium grid instance in kubernets. Which has a deployment that looks somewhat like this: apiVersion: apps/v1 kind: Deployment metadata: name: selenium-standalone-worker ...
1 vote
2 answers
63 views

I have a working web scraper written in Python, Selenium and Chromedriver (all up-to-date version wise) and various other software packages. The target webpage has a field for the phone number, but ...
0 votes
1 answer
10k views

I am new to Selenium. Trying following code and it works for Firefox. When I try for Safari, getting error. package MyTestPkg; import org.openqa.selenium.WebDriver; import org.openqa.selenium....
4 votes
1 answer
9k views

I can execute my Selenium scripts without any issues if the screen is not locked. As per our organization policy, our system will be locked automatically after 3 minutes of inactivity (but system will ...
1 vote
1 answer
16k views

I want to know(if possible) -how to reuse step definitions related to few or all steps of a scenario from one feature file to another another? For Example- in my Feature file-1 :I have below scenario/...
2 votes
2 answers
71 views

I'm trying to make a automation that logs into https://auth.hbomax.com/login, however I keep getting the below error as the code can't locate the sign-in element. selenium.common.exceptions....
4 votes
3 answers
19k views

whenever I try to use a proxy with undetedted-chromedriver, it just doesn't work and diplays my ip. When I use the normal webdriver, it works perfectly. from selenium import webdriver from time import ...
3 votes
2 answers
13k views

I'm running my automation with WiniumDriver. When I run on local machine (without headless mode) it works well, but when I run from Jenkins it doesn't work, because I'm using headless mode. How can I ...
4 votes
3 answers
10k views

I am trying to run this below code, then I got code error: ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- selenium-webdriver (LoadError) I am not able to ...
0 votes
3 answers
11k views

Hi I'm trying to run Selenium script with Maven, TestNG in Eclipse. First I right click on my project and select TestNG | Convert to TestNG(testing.xml is created). Then I go to the Run ...
271 votes
4 answers
103k views

When I use MSTest Framework, and copy the code that Selenium IDE generated for me, MSTest doesn't recognize [TearDown] and [SetUp]. What is the alternative to this?
1 vote
3 answers
94 views

How can I handle multiple <img> elements in Selenium when all of them have the same id attribute? I need a way to automatically detect and interact with these images, even though they share the ...

15 30 50 per page
1
2 3 4 5
10517