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

Image may be NSFW.
Clik here to view.

Python Selenium: accessing aria-label information

I am trying to read the reviews related to app present on google play store. I am using Selenium for this purpose. Each review present in jscontroller ="H6e0Ge". Inside jscontroller = "H6e0Ge" tag, I...

View Article


Image may be NSFW.
Clik here to view.

Robot Framework - Unable to find filter xpath in Kendo grid and add text

I am attempting to create a Robot Framework Selenium test where I input text into a Kendo grid filter and then check the results. The grid is here:The filter code is here:<thead...

View Article


Image may be NSFW.
Clik here to view.

Clicking on Get Data button for Monthly Settlement Statistics on nseindia.com...

I am trying to scrape data from here.By clicking on the capital market and 2019-20 year. I want to click on Get data. I have used following code:driver =...

View Article

java.lang.NoSuchMethodError:...

I've been struggling with selenium to fix this issue:java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.Wait.until(Lcom/google/common/base/Function;)Ljava/lang/Object; This is where I get this...

View Article

Scrape table data from .jsp page using Selenium

I am trying to scrape a table from .jsp page (details below). The table loads only after entering data (Train Number & Journey station)For your trials, Train number can be 56913& Journey...

View Article


Error occurred during initialization of boot layer...

ErrorOccuredDuringInitializationofbootlayer I keep getting this error when I run my test: Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module...

View Article

selenium switch between windows problem -> [SEVERE]: Timed out receiving...

I have a problem with selenium 3.13.0 and chrome version 79.0.3945.130 and java. I wrote this code for testing a web page that has to switch between 2 windows. when I start running this script...

View Article

Unable to upload a file to the "browse" button using sendKeys() in Selenium Java

I am trying to automate the upload file function. I have tried using different xpaths to get input element but it seems that I am probably not doing something right. My input element does not have an...

View Article


Image may be NSFW.
Clik here to view.

Python and Selenium - Pick value from dropdown list

Trying to pick value in the dropwdown list as shown in picture - DressesDropdown IMAGE with open HTML By this line i'm able to click and expand the dropdownmyElem = WebDriverWait(driver,...

View Article


Image may be NSFW.
Clik here to view.

ExpectedConditions.elementToBeClickable but test still flakes?

ExpectedConditions.elementToBeClickable but test still flakes?.Currently my tests seem to be flaking every now and then when clicking on an element (Even when using js click, actions move and click)My...

View Article

How to simulate pressing the arrow down key when a specific element is...

I want python to click on a key on my keyboard for example the arrow down key when a specific word for example google is present somewhere in the browser or in the searh bar. Is it possible with...

View Article

How to select multiple checkbox in selenium webdriver

I have the following code from SNAPDEAL, i want to select 1TB and 120 GB<div class="filter-inner overflow-filter" data-name="Capacity_s"> <div class="filters-list sdCheckbox "> <input...

View Article

selenium.common.exceptions.InvalidCookieDomainException: Message: invalid...

I am setting up tests for both chrome and firefox using seleniumgrid.I am using docker images selenium-hub and selenium node-chrome and node-firefox as below. app: build: . command: gunicorn --reload...

View Article


ElementNotInteractableException in Python for find_element_by_xpath

FOMC webpage driver.get(f'https://fraser.stlouisfed.org/title/677') Loop downloads in all desired years and months for y in years: for m in months: pdf_links = [] xpath = "//*[contains(text(), '"+m+"')...

View Article

Image may be NSFW.
Clik here to view.

Selenium Request Running slow in Chrome 79

I built a scraper using selenium, python3.6 scrapinghub crawlera on ubuntu 18.04 that has been running well until now. I am scraping cars.com and started a few months back, the scraper downloads images...

View Article


Create a batch file to invoke testng.xml to run selenium scripts

I need help to create a .bat file to invoke testng.xml which has all the tests to run.According to this link, I created the .bat file. Here is what I have written in it: java -cp "C:\Program...

View Article

How to parameterise username and passwords in Cucumber features when using...

I am using Cucumber+Selenium+junit for automating test cases. Sample scenario is mentioned below. I pass multiple examples for different environments into the scenario. In my test application the...

View Article


Image may be NSFW.
Clik here to view.

How to load extension within chrome driver in selenium with python

All my efforts to open chrome browser with Browsec extension enabled are failing. Here is what i tried in last -# Configure the necessary command-line option. options = webdriver.ChromeOptions()...

View Article

Even though the page loads, dropdown elements doesnt get loaded. Webdriver...

I tried to open a page using selenium automation using Java. The page loads normally but dropdown select options are not listed. there is an empty dropdown present. I need to select the elements from...

View Article

Running testng.xml file shows Invoked Methods error

I am getting Null pointer exception of Driver when i am running selenium with testng.xml file, if i directly run Login class it works fine. Also when i remove groups tag from .xml file it is running...

View Article
Browsing all 98827 articles
Browse latest View live


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