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

Image may be NSFW.
Clik here to view.

Sign in to gmail account fails (selenium automation)

I have a Selenium service that has to login to my gmail account as the first step. This functionality was working couple of weeks ago, but suddenly the login starts to fails and i am seeing this Error...

View Article


How to get the Current window Size using Selenium Webdriver?

I am running on Screen Resolution of (1366 X 768 ), but when I call getSize().getWidth() and getSize().getHeight() methods , the result I'm getting is:Size of Width is : 1382 Size of Height is : 744for...

View Article


TestNg suite of suites xml is not running with under score

I have created a suite testng.xml which is having multiple other test suites . It is giving error while test suite names are having underscore having error while running .If I am renaming the test...

View Article

Selenium Python to open all Facebook posts in a group using keyboard shortcuts

I'm trying to go on a Facebook group and go through the first 20 posts. Normally there are keyboard shortcuts that Facebook has to help navigate through the posts. One is the "j" key where it goes from...

View Article

What is Instagram bot request limit?

I wrote a Selenium Script to refresh an instagram user's profile every 30 seconds. After sometime Instagram started throwing me "Page Not Found" errors and said "Please wait a few minutes before you...

View Article


Port 9050 is not listening

I want to use a tbselenium package for browser automation but however when I try to run the code I get the following error TBDriverPortError: SOCKS port 9050 is not listening.following is the code...

View Article

Image may be NSFW.
Clik here to view.

FInding the latest message in a list of messages

so im currently trying to copy a message to automate a login sequence. The login requires an otp code that has to be sent to a phone. I set up a textnow account to gain access to the otp via web page...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Code - Cucumber - Unable to find steps with special character

I would like to ask for your assistance regarding the error I'm encountering in vscode and cucumber. I have a step where special character exists(?). In my Step definition file, I use "\\" next to the...

View Article


Selenium cannot find element, allthough xpath works in developer tools

I am working on creating a script that creates a shared drive after logging in to google. I got to the add members' email and when I try to enter an email I get an error saying the following element...

View Article


Probable impact of implicit wait removal

In our Selenium automated tests, we've implicit and explicit waits. As per Jim Evan's thought https://stackoverflow.com/a/15174978/1471417, they should not be mixed. Hence planning to remove implicit...

View Article

Use Selenium to Test electron desktop application,but it report the...

This question already has an answer here:Ubuntu: selenium.common.exceptions: session not created: This version of ChromeDriver only supports Chrome version 79 2 answers ChromeOptions options = new...

View Article

selenium.common.exceptions.ElementNotInteractableException: Message: element...

Through Selenium, I try to enter the username on one popular site, but, for some reason I do not understand, this does not work. Everything opens, a click occurs on the desired input field, but...

View Article

Compare two numeric string values in selenium [closed]

Comparing two numeric string 28.5 and 28.50 give me pass result after reload money.By right should be failed because money not increase.The different only at decimal places.

View Article


InvalidElementStateException invalid element state: Element must be...

I have an input HTML element like this in Django<input id="id" type="number" maxlength="50"> When I want to find and clear itelm_input = self.wait.until(EC.presence_of_element_located((By.ID,...

View Article

how to identify Chrome processes launched by ChromeDriver?

Browser.cs: public static ChromeDriver GetChromeDriver(string machine) { String chromeLocalAppDataPath = GetChromeLocations(machine); //"d:\ChromeTest\Google\Chrome\User Data\Auto\"; var headless =...

View Article


How to get the webdriver object using just the session ID Or cookies of...

I have a situation where webdriver object is hide in a wrapper in dependency project and I can only able to retrieve session id in string format and return driver.manage()/cookies from those...

View Article

penQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver...

I'm getting following error while executing the automation script on TFS Error,Error message:OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL...

View Article


Throws "Java.lang.AssertionError: Unsupported type parameter" When we pass...

Thanks for providing the webdrivermanager-3.7.1 Jar.I have written small Selenium Webdriver+TestNG program. I am using @Parameters({"browser","URL"}) in my code and pass DriverManagerType.When I...

View Article

How to restrict test data method call for respective Test method by using...

I am using NUnit for Selenium C# project. In which i have many test methods. For getting data (from excel) i am using public static method that return IEnumerable which i am calling at test method...

View Article

How do I iterate through a table to enter data

I have a test framework which uses Specflow, Selenium and C#. The Specflow test step looks like the below (I'm using datatables): And I create the below Loan Purposes in the Loan Purposes section |loan...

View Article
Browsing all 97750 articles
Browse latest View live


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