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

How do i display the result row wise when td contains span and g tag etc

I have 7 rows, when clicking on it, its open one popup and that popup may contain no of rows(its dynamic)//div[@id='modelcontent']/div[3]/table/tbody/tr --- Its giving me total no of rows of a...

View Article


Can not locate AWS login page' s mail adress box

I am trying to locate email input box of AWS login page. I tried css selector and xpath but selenium still can not locate the element. My css selector is,#resolver_container > div > input My code...

View Article


How to combine 2 webElements from a page factory setup in selenium

I am using Page Factory set up for my project where in I have the following:@FindBy(how=How.XPATH,using="//*[contains(@text,'Monthly Pass')]") private WebElement monthlyPass;...

View Article

Please help. I can't seem to locate the input box element

I am trying to use python to automate something (I guess this is redundant) LOLI can't seem to locate the email input element with driver.find_element_by_ I tried so many different ways. I just want to...

View Article

Python selenium/Beautifulsoup using urlretrieve 403 forbidden error

Please understand that I am not good at English.I created a crawl program that downloads images using image URLsGet the image URL in the imgs_urls array.Then downloads them using the urlretrieve...

View Article


Unable to select value from autocomplete using protractor

<select name="Name" class="metaselect ignore" style="display: none;" xpath="1"> <option value="00000000-0000-0000-0000-000000000000" selected="selected">-- New --</option> <option...

View Article

How to close parent window and continue execution on a child window

I have a method where I need to switch to child window to continue the the execution and I dont need the parent window anymore. So, how I can close the parent window and continue my execution on child...

View Article

Selenium Refused to load the script

I am trying to scrape this link "https://www.practo.com/delhi/doctor/dr-meeka-gulati-dentist-3?specialization=Dentist&practice_id=722421"Spider Code:from selenium import webdriver from...

View Article


How to Generate Test Coverage report in Jenkins for ATDD Test using cucumber...

In my Automation project,we want to generate test coverage report in jenkins like cucumber reports (which means whenever build pass it will generate Test coverage report too). Is there any way to do...

View Article


Selenium Python script has different behavior on Windows and Ubuntu environments

I've tried running a script on Windows and on Ubuntu, both using Python 3 and the latest versions of geckodriver, resulting in differing behavior. The full script is given below.I'm trying to get the...

View Article

How to press CTRL+J (and CTRL+W) keys with Nightwatch.JS

I need to close Chrome download bar with Nightwatch.JS. In order to do so I want to press CONTROL+J and then CONTROL+W.However, the following code doesn't work:client.keys([client.Keys.CONTROL,...

View Article

Extract content from a continuously updating web page , using Python

I am trying to extract table data from the following page:http://www.mfinante.gov.ro/patrims.html?adbAdbId=4283The problem is the page seems to be constantly adding rows, dynamically, and using...

View Article

What is Selenium and what is WebDriver?

What is Selenium? When you open the official page of the Selenium, the first thing you read is "Selenium automates browser" in "What is Selenium?" section. The section "Which part of Selenium is...

View Article


How to convert Python Code to Robot Framework

I'm trying to automate the CAPTCHA and I have written a python code as well for this. Right now I'm stuck at a point i.e I'm not able to call it in Robot Framework by creating a custom library. from...

View Article

How to get text generated by JS in Selenium?

I am trying to get the text "Incorrect Credentials" which is placed on page (js) when the user enters an incorrect user name and password...login_button.click() self.driver.implicitly_wait(10) #...

View Article


How do I stop email newsletter popup from intercepting clicks?

ProblemI am writing automated tests for my company's website using Java and Selenium. Right now I am writing tests that involve clicking on links, and verifying that the link leads to the correct...

View Article

How to wait visibilityOfElementLocated for sub element?

I am struggling with the syntax of visibilityOfElementLocatedI have an element for a table row, now I need to search an element in this row like row.findElement(xxx)Below is syntax we use for locating...

View Article


How to scroll within an internal scroll menu on a page? Python/selenium

Tryin to scroll through a scroll box within a page, the html code looks like this: <main data-infinite-scroll-context="" id="chat" data-chat-initialized="true" data-chat-current-filter="inbox"...

View Article

Declaring global variables in Java/Selenium?

I am completely new to automation testing and am fairly inexperiened at programming. I would like to design about 50 test cases, with each test case largely including the same blocks of code. Obviously...

View Article

getting Stale element exception in katalon while selecting checkbox

Can any one help me with same exception as i am getting this exception 2 out of 5 times while running my codepublic selectTags(int tags){ WebDriver driver = DriverFactory.getWebDriver() for(int i=1;...

View Article
Browsing all 98221 articles
Browse latest View live


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