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

Login page validation by taking login details and URL details from a excel file

How to write a script to take data (user name, password, URL) from excel file and login to the application and print success/ failure message.

View Article


C# selenium automation - Object reference not set to an instance of an...

Moved the test scripts from the server to my local machine and when i run any tests, i get this error. It runs perfect on the server but on my local i get this error. The stack trace points to this:Is...

View Article


W10 Pro: Indentation error where there isn't any indentation in the script

Context: I test a sites performance and basic functionaitly on popular browsers: Ex: links, images, login/out experiences. I have pycharm as the editor on windows 10 pro and on a Mac. When i run a...

View Article

Display a custom tooltip over an element without doing mousehover - Python...

I am trying to write a function that can display a custom tooltip over a WebElement.I dont need to get the default mousehover tooltip of that element but instead display a custom text over that element...

View Article

Unable to build JAR file for my maven PARENT prroject

I have created two training projects aiming to the creation of a Java Test Automation Framework with Selenium.Both projects have been stored in my personal git: https://github.com/omarjmcFramework:...

View Article


How to send ctrl+click+i to RSelenium

Basically in the title. I would like to use the keyboard shortcut for inspect element within the webdriver. I have tried:remDr <- driver$client webEl <- remDr$findElement(using =...

View Article

Cucumber not able to read the definition file

I am a beginner in Cucumber and i have written a basic tests for login and going to the homepage using in a maven project. I suspect there is some consistency issue with POM.xml. Please find below the...

View Article

I am trying to select an element using Selenium in python. I am using "find...

Here is the HTML Code:<div class="splunk-view splunk-paginator" id="view_8174-paginator8203" data-view="splunkjs/mvc/paginatorview" style="display: block;"> <a href="#" data-page="prev">«...

View Article


Python requests to login website behind captcha

I want to log in an website https://eokulyd.meb.gov.tr/ and read some html from that. But the website has an control image, user must write number which is in that image. I know requests has Session...

View Article


Nested iframes is taking too long to identified elements in selenium...

This question already has an answer here:How to locate and click on an element which is nested within multiple frame and frameset through Selenium using Webdriver and C# 2 answersI am using java with...

View Article

Python Selenium Error "Message: stale element reference: element is not...

for k in range(1,50): print('Page ',k) for i in range(1,Rows+1): for j in range(2,7): TitleRow =...

View Article

EOL String Literal Creating Save Location with webdriver selenium

So as the title suggests I am trying to accomplish a couple of things in Python 3. Step 1 - I want to run a script that makes a folder with todays date. I am currently doing that like this:import time...

View Article

How to get a value as a variable with selerium? [closed]

I don't know how to explain this, so I'll just show go directly into that valueSo there's a thing that is named "value", and I want my python with help of selerium to take that "value" thing as an...

View Article


Issue locating elements with dynamic ids

I'm kinda new to selenium, and I'm stuck at figuring out one problem: I have an input that's inside this html block and my task is locate it and send keys. The problem is that not only the id is...

View Article

Web Scraping over dynamic content that

I would appreciate with helping me scrape results from the following link: sample linkI'm using Python 3.7, BeautifulSoup 4 and Selenium.I have coded a program to extract features of user reviews for...

View Article


Failed to find an element in selenium python

I using selenium in python2. And I want to find an element using (driver.find_elements_by_class_name()) but, no result from that code. but, if I try to find elements using...

View Article

How to run Selenium TestNG scripts from command line on windows OS

I followed the instructions given in this post. But I get the message "Could not find or load main class org.testng.TestNGRunning test from CMD is quite easy.Follow below steps1- Go to home directory...

View Article


Screenshot capture of Selenium tests when parallel execution is enabled in...

I am using Page Object Pattern. I have implemented TestWatcher interface in Watcher class to process test case results. In order to take a screenshot for passed/failed test cases I need an instance of...

View Article

Python+Selenium reconstruct true HTML after executing javascript on page

I have this super simple code running in selenium<input name="X" id="unique" value="" type="text"> <script> document.getElementById("unique").value="123"; </script> I am able to get...

View Article

Selenium/Scrapy - Returns null for some elements

My goal is to scrape tax data from public county websites. While using scrapy and selenium I was able to gather parcel ids, addresses and owner names but my output returned null for elements located in...

View Article
Browsing all 98792 articles
Browse latest View live


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