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

PhantomJS can't load correctly web page

I'm currently trying to scrape a web page with PhantomJS and Selenium (python 2.7.9 on Windows 7) but PhantomJS fail to load correctly the web page. If I use Firefox as webdriver I have no problem to...

View Article


How do I get an element id text changes?

I have an element text always changes except time format: Ex: "jorday hekci 4:35pm hello""read message 12:05am jack""read message 2:35am test""I love stackoverflow 4:59pm everytime"I tried this way and...

View Article


Can't locate existing element with Selenium WebDriver

so I have this textfield, on an HTML page, that accepts number from 1-100 on a modal box. If you enter a number to big -> error message in div below appears and class gets assigned to the div. Same...

View Article

Why is WebElement the same using for each loop Selenium?

I'm trying to get elements using for each loop, but I'm gettting always the same first element.Firstly, I'm searching for an element by id.WebElement tableId =...

View Article

Image may be NSFW.
Clik here to view.

**How to select specified number of IMG tags from quantity input value**

Image example:As you can see from clicking the image example link above, “EE” is the row and “8” is the item number. I would like to select three of the following four IMG tag items located in the same...

View Article


Appium's implicitlyWait does not work

I am using Appium to automate an iOS app but met a problem, is there anyone meet the same problem before?Appium's implicitlyWait API seems to not work. I am using Java and JUnit to run the test, here...

View Article

How to get a html list without class Selenium C#

I'm scrapping a webpage and I have a problem with the list, because doesn't have a class, id or selector to get all the list and just select it by the id or text and Click it, then I need help to do...

View Article

Proxy authentication for chrome driver selenium java

I am running into a problem where whenever I go to website through a chrome webdriver through selenium ,in which I've added in a proxy onto the webdriver, I will get a pop up message asking for the...

View Article


How to copy/write particular row using apache poi

I know i am missing the main function here. I want to copy/ write only particular row from my source excel to destination excel using apache POI.eg. My source excel has 10 rows. I need only 5th row to...

View Article


How to access returned JavaScript promise value in selenium?

I'm trying to access promise value which I return from JavaScript function. When I try to return it in selenium it returns None. My function works and I can print responseData in console.log. I just...

View Article

Scrape Data after Clicking Expand Button

I want to scrape information in the "Experience" Section on the LinkedIn Page. Here is an example website: https://www.linkedin.com/in/jeffweiner08/Before Click "Show More" ButtonAfter Click "Show...

View Article

Java: invalid selector: An invalid or illegal selector was specified

I'm trying to click an element on payment pop-up:<label data-v-533987c6="" xpath="1">Card Number:</label> <input data-v-533987c6="" type="tel" data-mask="#### #### #### ####"...

View Article

Selenium looking at a class and determine how many elements are in the class,...

I need to interact with elements under a class but the number of elements in that class is changing every time I run the script. To give you context the website is a calendar, where I need to pick a...

View Article


errors in TFS, problems with Vstest

May be someone know, I have errors in TFS, when I start my selenium test, written in VS 2019. As I understood, I have problems with configurations, may be in VS, may be in TFS, but i do not know...

View Article

Navigate in a "Splash" page with Selenium

I did a script in python that logs into a URL and navigate throw it. The problem is, that I have to get to a webpage that has some checks, and those chekcs are done with "splash" pages, so when I get...

View Article


Python: How to escalate if / elif with pandas?

I am building a chatbot using Selenium and it has two short answers by now. When user sends '/help' the bot sends 'You asked for help', when user sends '/more', bot sends 'You asked more'...def...

View Article

Selenium - Dynamic Datagrid

enter image description hereI am currently trying to iterate through a datagrid containing some information. I am able to iterate through the actual tables header and get the column names, but this I...

View Article


How to scrap dynamic websites (that requires clicking into individual...

I am extremely new to web scraping and python in general. I have been trying to create an automated way to scrape informations of startups on this website:...

View Article

Nightwatch selenium geckodriver - browser not opening

I'm trying to run nightwatch tests in firefox. I have my config file set up like this:module.exports = { "page_objects_path": "./page_objects", "selenium": { "start_process": true, "server_path":...

View Article

Selenium check element presence if using FindBy annotation

Trying to use the @FindBy annotation my feeling is there is no perfect way to check the presence of an element. There are similar discussions here or here, but I see only workarounds and nothing...

View Article
Browsing all 98787 articles
Browse latest View live


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