selenium-webdriver Questions
10
I'm working with a DOM node:
<input
type="form-control"
type="text"
data-bind="textInput: EnterpriseId"
disabled
autocomplete="off">
How can I g...
Urissa asked 12/5, 2017 at 9:11
27
Solved
Using Selenium WebDriver with Java.
I am trying to automate a functionality where I have to open a new tab do some operations there and come back to previous tab (Parent).
I used switch handle but ...
Chaplain asked 4/10, 2012 at 14:13
3
Solved
Ok so far i have my programing going to the website i want to download link from and selecting it, then the firefox dialogue box shows up and i don't know what to do. i want to save this file to a ...
Dubitable asked 11/8, 2014 at 20:11
4
Solved
Is there any way to convert a WebElement type object to a By in selenium? Type casting did not work.
I have a function which only takes in By's, so I need to convert a WebElement to a By.
Maffick asked 7/4, 2014 at 20:59
5
Solved
Been searching for a while and tried all the solutions present but none appear to be working. I created a "slide show" that will first log in, then alternate between tabs. All of that is working bu...
Teshatesla asked 2/10, 2018 at 18:49
3
I am trying to add a new tab using Webdriver 2.0 in Chrome but couldn't get the result.I have followed few answers provided in different forums.As I am very new to java and the answers available ar...
Christenechristening asked 27/7, 2013 at 15:29
6
Solved
When running my python selenium script with Chrome driver I get about three of the below error messages every time a page loads even though everything works fine. Is there a way to suppress these m...
Biotype asked 17/6, 2016 at 14:9
3
Solved
I am trying to enter data in prompt (URL Given), below codes is giving me an error. Please help me out with these?
from selenium import webdriver
from selenium.webdriver.common.action_chains impor...
Scopolamine asked 26/7, 2017 at 13:38
10
Solved
I use Selenium RC for testing. Now to perform a load test, I want to run parallel test cases.
Is there any way to run them without opening a browser?
Gringo asked 29/9, 2011 at 7:1
4
Right now, I use this as a way to detect when the user closes the browser:
while True:
try:
# do stuff
except WebDriverException:
print 'User closed the browser'
exit()
But I found out that...
Seften asked 4/8, 2018 at 11:56
3
Solved
I'm running an automated test on my wordpress website using selenium wrapper (through VBA).
When the login button is clicked, I get this error:
ERROR: Cookies are blocked or not supported by your...
Yokefellow asked 28/4, 2016 at 12:5
4
I am trying to use the geckodriver with firefox and selenium on my Ubuntu machine. This is the code I have so far:
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
fr...
Hesitation asked 10/9, 2019 at 11:57
4
Solved
Is there any methods for python+selenium to find parent elements, brother elements, or child elements just like
driver.find_element_parent? or
driver.find_element_next? or
driver.find_element_prev...
Dianthus asked 6/8, 2013 at 12:8
4
I want to use selenium with a proxy which is password protected. The proxy is not fixed, but a variable. So this has to be done in the code (just setting up firefox on this particular machine to wo...
Moll asked 16/1, 2012 at 19:18
11
I would like to get the PID of the browser launched by selenium. Is there any way to get it done?
Thrice asked 25/5, 2012 at 10:11
7
So I'm trying to login to Quora using Python and then scrape some stuff.
I'm using Selenium to login to the site. Here's my code:
from selenium import webdriver
from selenium.webdriver.common.key...
Almswoman asked 4/7, 2013 at 5:59
7
Solved
I am trying to click on open application alert using Selenium, and I am getting this error
NoAlertPresentException: Message: no such alert
So basically I am trying to open zoom application from th...
Ungovernable asked 2/6, 2020 at 14:19
2
My Capybara Selenium Webdriver set up is failing when trying to make a connection to ChromeDriver - It appears they released a version without an M1 version to find at the Chromedriver API https://...
Limber asked 29/9, 2022 at 18:54
1
For my electron app project (used boilerplate), I want to execute a few selenium node commands using selenium-webdriver and chromedriver.
The problem is, when I added the module selenium-webdriver...
Kuhlman asked 18/7, 2019 at 17:12
5
I have the following HTML span:
<button class="coreSpriteHeartOpen oF4XW dCJp8">
<span class="glyphsSpriteHeart__filled__24__red_5 u-__7" aria-label="Unlike"></span>
</button...
Death asked 24/8, 2018 at 18:11
1
I'm trying to scrape some info regarding different agencies from clutch.co. When I look up the urls in my browser everything is fine, but using scrapy it gives me 403 response. From all I read on t...
Dunne asked 20/2, 2023 at 10:27
3
Solved
I am using JUnit 5 as my Test Runner.
In the setup method, I have hardcoded 3 params (platformName, platformVersion, and deviceName). I have a test method that should test on various combinations...
Whencesoever asked 27/5, 2020 at 6:27
2
Solved
I would like to be able to perform something similar to a WebDriverWait(), i.e:
WebDriverWait(driver, 60).until(
expected_conditions.text_to_be_present_in_element((By.XPATH, "//tr[5]/td[11]/div"...
Eluviation asked 30/1, 2015 at 16:30
4
Solved
from selenium import webdriver
import time
test = webdriver.Chrome()
test.get('https://docs.google.com/forms/d/e/1FAIpQLSeYUmAYYZNtbU8t8MRxwJo- d1zkmSaEHodJXs78RzoG0yFY2w/viewform')
time.sleep(5)...
Pinot asked 25/6, 2022 at 14:22
2
I have two separated Selenium Webdriver's classes. The class I made first runs without any error but the second class throws the NullPointerException.
The error points out the bellow line WebDrive...
Gaming asked 2/10, 2017 at 5:40
© 2022 - 2024 — McMap. All rights reserved.