Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97790 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Cannot parse several elements using cssSelector Selenium

I'm trying to parse several goods from this link. The problem is I can parse only first element.To be specific: I need goods which were sorted by "Newest" on the website below. And I click this button...

View Article


Cucumber: Initilizing and then Passing data between Step-definitions?

Trying to share information between step definitions.The problem is that using pico-container way of doing it does not work for me ....I need the PARENT of my "initial/base" step-definition to do the...

View Article


how to inject javascript for loop in selenium - python

i'm encountering some problems with executing java script for loop into selenium script. Probably there is something wrong with syntax. Basicaly the goal is to inject loop which repeats 10x and clicks...

View Article

What is the way of clicking on links which could not be scrolled into view by...

This is piece if my code:x=driver.find_element_by_xpath("""//*[@id="react-root"]/section/main/article/div[1]/div/div/div[1]/div[2]/a""") x.click() But, this error are...

View Article

how to run all feature files multiple times with different values for one of...

So far we have a configuration.properties where we set value for all required parameters, but I need to loop through multiple values for one of the parameters (probably comma delimited) and run all...

View Article


Getting error running Java Selenium Headless testcase due to CLASSPATH...

Below is my exported java headless selenium testcase code that runs fine from IDE. package pack; import java.util.regex.Pattern; import java.util.concurrent.TimeUnit; import org.junit.*; import static...

View Article

Getting the url of webpage on Timout (Python Slenium)

My question is how to get the URL of a webpage in selenium while a page timeout. The website is not loading completely but I want to get the URL before the website has finished to load (which is never...

View Article

Selenium WebDriver: How to wait for iFrames to load completely?

I'm testing a page with an iFrame whose contents are generated by JavaScript dynamically. I have to wait for the iFrame loaded completely to make sure that all the elements are present. I tried the...

View Article


How to enable-automation for chrome using Go agouti

In Python, enable-automation is set in chrome using the following code:from selenium.webdriver import Chrome from selenium.webdriver import ChromeOptions option = ChromeOptions()...

View Article


ChromeDriver is assuming that Chrome has crashed

I am trying to run some scripts with seleniun and am getting this error:Traceback (most recent call last): File "/var/www/pyscripts/qualidental.py", line 12, in <module> driver =...

View Article

Python: How to use the proxy socks 4/5 in selenium webdriver firefox

This is the code used. The error is that Firefox does not use the proxy. Is there another way to specify a proxy sock? Thank you very much for your help.class post(object): def firefox(self,...

View Article

Image may be NSFW.
Clik here to view.

WinAppDriver finds element on one machine but not others

I have an automated testing environment consisting of one development machine and two boxes that run the tests in an automated fashion. All three machines are running windows 10. All three are using...

View Article

Image may be NSFW.
Clik here to view.

how to fill the text in the new form using Selenium+python

i am trying to automate here and now i want to fill some text in a form which appears after clicking on a button(yellow highlighted one). How to do that??Just to be clear, i want to fill the text-field...

View Article


Python Selenium wedriver iterate over form

I'm trying to automate a form assertion with a list of data, however I'm struggling on when and how to use "WebDriverWait" or driver implict wait. My list is 1000 strings. When I run a sample of a 100,...

View Article

How to work with data-test-id in iOS app using Selenium and Java

I'm trying to automate an iOS app which was built using Pega PRPC. But i'm unable to find some elements. Below is the elements section in appium,Appium inspector viewBelow is the code i used to refer...

View Article


How to launch Microsoft Edge in InPrivate with Selenium WebDriver and Java

I need help with launching Edge in InPrivate mode with Selenium and Java. I am not using Robot framework so cannot use the below solution: Open Edge in InPrivate mode using SeleniumAlso I tried the...

View Article

Selenium StaleElementReferenceException when the element refreshes every second

In my web application there is a set of progress bars that update every second. When I look at the DOM in Chrome dev tools I can see that the elements are getting destroyed and recreated. So when I try...

View Article


Adding multiple SelectElement into IList for iteration

I am trying to iterate into multiple drop-down boxes and select value in each one of them, now the drop-down boxes are variable, is there a way to do that, I tried this: IList<SelectElement>...

View Article

Editing Multiline Strings in Python

Pretty new to Python here. I am running selenium web driver in order to query some info from a website (only accessible from my organization, yes SQL queries would be much better but this is what I...

View Article

How to handle authentication popup in Chrome with Selenium WebDriver using Java

I am trying to handle an authentication pop-up in one of my new Webdriver scripts. I have a working solution for IE, but I am struggling with Chrome. IE was as simple as following the advice on [this...

View Article
Browsing all 97790 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>