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

Selenium WebDriver: Wait for complex page with JavaScript to load

I have a web application to test with Selenium. There is a lot of JavaScript running on page load. This JavaScript code is not so well written but I can't change anything. So waiting for an element to...

View Article


Selenium Go back without refreshing

I want to go back from one page(say B) to previous(say A) without refreshing it. I have a page B where if I am using it manually and I press backspace key manually it goes back to page A without...

View Article


Error Selenium Unable to retrieve document state disconnected: received...

I have a code to automatize Test in Java via Selenium in a Web Page. The code Java is posted in this question, in addition Pom in XML and Error that I get is also posted here. The problem is that its...

View Article

How to click elements that have generated id's if I don't know what the ID...

Say I have some HTML mark-up as such: <select id="select_titleOfSelect-1212_01" name="titleOfSelect-1212"<option value="ONE"></option> <option value="TWO"></option>...

View Article

Python Selenium Gekodriver proxy not being applied

I'm trying to apply an HTTP proxy with authentication to a Selenium webdriver instance using geckodriver:proxy_options = Proxy({ 'proxyType': ProxyType.MANUAL, 'httpProxy':...

View Article


"How to fix 'malformed URL' in Selenium web scraping

My problem is that I am attempting to scrape the titles of Netflix movies and shows from a website that lists them on 146 different pages, so I made a loop to try and capture data from all the pages,...

View Article

How to access the details (i.e sub fields) of second/third elements that has...

I have 3 elements with a particular instance (eg.: there are 3 <div class="sc-1xo2hia-0 TegxE"> under each <div direction="vertical" class="sc-1fp9csv-0 iFnncD"> in the webiste:...

View Article

How to select certain button with selenium

I need selenium to select a button with the html code of:<a href="stuMain.php?datasetID=31561">583</a> There are over a thousand buttons and each button has two different numbers in the...

View Article


Open Chrome with Toggle Device Toolbar Activated

I'm working with java in Selenium, and I have to automaticed some tests, some how needs use Chrome Headless and Mobile Emulation. I know how to open chrome with "--auto-open-devtools-for-tabs" and with...

View Article


Creating a locator for a drop-down options which is disabled and selecting...

I tried to create a locator for the below dropdown options and select any option from it.When i created the WebElement for an option and tried to select it,it would not get populated in the checkbox. I...

View Article

Jenkins Pipeline give User Input to run specific testng.xml

I'm using gradle with selenium (Java) Testng to automate my test cases and choose Jenkins to build the scripts. I have many testng.xml files in my workspace under src/test/resources...

View Article

Unable to connect to chromebrowser 78 in selenium

I am trying to run my first selenium test and failed invoking the browser due to port issue. My chrome browser version is Version 78.0.3904.97 (Official Build) (64-bit) and i have downloaded Latest...

View Article

Maven project execute without ide

I do a selenium test using Maven. I have more than 20 test classes. How do I export and run them without ide ? I am also using the POM structure.

View Article


Selenium web driver - Waiting within loop (Java)

I have seen a lot of methods (such as this one) on waiting for Selenium Web driver (specifically for Java). However, applying the methods here do not seem to be working.I am attempting to test user...

View Article

Css or Xpath selector can't select a list element

I am trying to automate a process on a website that dynamically generates IDs for its elements :Ids have this form: ZCODE:FORM:j_1279323:elementI managed to make CSS or XPATH selectors for most of the...

View Article


How to reset application in appium

I have a feature file with few scenarios:in every scenario I need to login in app and then do checksBut if first scenario failed on step after login, it does not perform logoutand then second scenario...

View Article

How to use Webdriver manager in Robot Framework?

In selenium I used webdriver manager through a command:driver = webdriver.Chrome(Chromedrivermanager().install()) Is there a webdriver manager use for the robot framework? I would like the webdriver...

View Article


Continue if element not found, if found save it

I have a loop, where I open links one by one. Inside this loop I have the if statement, which checks:If I see name, then I copy itIf I don't see name, then I ignore it and continue...

View Article

Selenium c# Unable To Get Test To Fail When Looking For Text

I am validating the presents of text within an address field and the text is present but no matter what I put in the expected string the test passesstring AddressLine1 =...

View Article

Selenium(Python) skips keyboard action

So I started learning selenium(python) about a two weeks ago and now I'm making my own simple project. It takes the input from the user(name of the website or some random subject), then types the input...

View Article
Browsing all 97750 articles
Browse latest View live


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