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

How to stop test if page taking too long to load in selenium python

I'm testing a website and all is good with me except when the page is taking too much time then selenium keeps on searching for the element. I've tried to use driver.set_page_load_timeout(5) but still...

View Article


unable to run basic Py program in Pycharm with Selenium

I'm very new to coding. Trying to run the below basic lines from past 20 days, and getting the below error. Kindly help. Tried installing uninstalling python, selenium & pycharm. still same issue...

View Article


Ubuntu: selenium.common.exceptions: session not created: This version of...

I have a python script running on an EC2 instance (ubuntu) on AWS. It uses selenium. It was working perfectly for weeks, and then all of the sudden, today, it stopped working with the following...

View Article

Erro:Unable to determine type from:

💬 Questions and HelpPlease note that this issue tracker is not a help form and this issue will be closed.For questions or help please see:SeleniumHQ IRC channelSeleniumHQ Slack channelThe Selenium...

View Article

Appium GUI: Cannot detect udid for iPhone SE Simulator running iOS 13.1

Start Appium in command line, and using selenium test script, I could open the specific app in the real iPhone.But with Appium GUI, it give me "Original error: Cannot detect udid for iPhone xx...

View Article


TestNg Printing the value of the parameters when the data input provider is a...

I am using below code which reads a CSV file and passes the object to the method under test called as public void launchWCM1(IBLogonDataCSV data) .@DataProvider(name = "regCSVData") public static...

View Article

TESTNG_HOME Environment Variable not present in system, But testNG suite is...

I have a Selenium-Java-TestNG-Maven suite. Is it mandatory to set TESTNG_HOME environment variable and Set the CLASSPATH environment variable to point to the TestNG jar location ? Because i have not...

View Article

Issue sending text to WebElement through Selenium

I'm trying to get this code to work, but it isn't. I enter manually and it works but not when I automate it.import selenium import time import os from selenium import webdriver from...

View Article


Click 'View more replies' in YoutTube using Selenium

I am trying to click the 'View more replies' link in YouTube using python with...

View Article


handshake failed; returned -1, ssl error code 1, net_error -202

I am trying to add an auth proxy on each browser window that i open up using user input but i get these errors...[20792:21516:1222/011708.284:ERROR:ssl_client_socket_impl.cc(935)] handshake failed;...

View Article

How to extract the text of the outer span only?

I'm facing a problem, where I'm unable to get the text of a span tag that has another span tag as a child:<span class="abc"> <span class="def">Inner Span</span> Outer Span...

View Article

How to access text inside div tags using Selenium in Python?

I am trying to make a program in Python using Selenium which prints out the quotes from https://www.brainyquote.com/quote_of_the_dayEDIT: I was able to access the quotes and the associated authors like...

View Article

How can I close a tab then go to the other tab with selenium?

Here is an example script:from selenium import webdriver driver = webdriver.Firefox() driver.get('https://www.startpage.com/en/') driver.find_element_by_xpath('//*[@id="query"]').send_keys('Example')...

View Article


how to select phpmyadmin sql query box using selenium and send value to it?

i am trying to select phpmyadmin SQL query textarean using selenium but it's not working, as any query you add it will be converted to spans in a div not an actual textarea, please advise. i tired this...

View Article

Typing Enter/Return key using Python and Selenium?

I'm looking for a quick way to type and Enter or Return key in Selenium. Unfortunately the form I'm trying to test (not my own code so I can't modify) doesn't have a Submit button. When working with it...

View Article


How to use XPath contains() for specific text?

Say we have an HTML table which basically looks like this:2|1|28|9| 3|8|5|10| 18|9|8|0| I want to select the cells which contain only 8 and nothing else, that is, only 2nd cell of row2 and 3rd cell of...

View Article

MicrosoftWebDriver.exe should be pre-installed in an elevated command prompt

I have microsoft edge installed on my machine with below versions:Microsoft Edge 44.18362.449.0 Microsoft EdgeHTML 18.18363 I am trying to use webdrivermanager to run my automation test (java+selenium)...

View Article


How to selecting option from right click menu with Selenium

I'm using chrome as the driver and after double-clicking/context-clicking, the prompt window opens but the driver won't switch to the prompt window. Here is what I have tried... The page I am opening...

View Article

Call for global variable in JS block of Selenium Webdriver test (Python)

I have a string of numbers set by user. Defined in the beginning of the Webdriver test:numbers = input("prompt")Then I need to enter value of this variable by JS code like...

View Article

How to fill pop up windows for loging into website with selenium in python...

This question already has an answer here:Python Windows Authentication username and password is not working 2 answersI want to make a code to automatically enter to a website using selenium in python....

View Article
Browsing all 97756 articles
Browse latest View live


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