selenium-webdriver Questions
5
Solved
I use Selenium WebDriver. I open the first page then open the second page - perform some action and go back to first page. Before I want to close the second page I use the command driver.close();, ...
Corrade asked 12/7, 2012 at 9:46
3
Solved
The below snippet is from official page Ruby Bindings; however, it fails to work
options = Selenium::WebDriver::Chrome::Options.new
options.add_argument('--ignore-certificate-errors')
options.a...
Undermanned asked 24/7, 2017 at 8:23
2
I am working on screenshot automation. In particular, I am trying to achieve the following:
Prompt the user for the links to different pages on the website X
Prompt the user for the class name Y
...
Aleksandr asked 14/6, 2018 at 20:9
21
I've been using Selenium for a number of months, which we're using to automate some of our internal testing processes. The scripts have been passing fine. I've recently upgraded to the C# 2.40.0 we...
Woven asked 11/3, 2014 at 10:13
13
I am not able to put any value in my application using WebDriver. My application is using frames.
I am able to clear the value of my textbox with driver.findElement(By.name("name")).clear...
Greatniece asked 5/1, 2014 at 17:2
3
I'm testing a page with an iFrame whose contents are generated by JavaScript dynamically. I have to wait for the iFrame loaded completely to make sure that all the elements are present. I tried the...
Achernar asked 28/8, 2013 at 11:23
17
I am trying to run Selenium tests on Debian 7 but without success.
The error is:
unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.9.248316,platform=Linux 3.2....
Tempo asked 21/3, 2014 at 11:55
6
Solved
I am working with Selenium Standalone Server 3.0.1. I am trying to add an Explicit Wait to my code to detect an element through xpath when the element becomes visible. In order to get some Java hel...
Higginbotham asked 16/2, 2017 at 13:42
4
Solved
I have python 3.5 on windows 7 machine and this machine does not have any other python version.
pip comes with python 3.5 installation.
I used pip to install selenium libraries
pip install selenium...
Reimpression asked 2/12, 2015 at 19:32
1
Solved
I am using this part of code to run selenium on aws lambda with runtime 3.8
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
def handler(event, context):
optio...
Milksop asked 21/6, 2022 at 8:44
5
I want to select all the tags with <td class='blob-code blob-code-addition'> and <td class='blob-code blob-code-deletion'> . So I am trying to include or condition here between the two ...
Estuary asked 15/2, 2015 at 18:31
5
I'm new to Selenium webdriver. I came across a requirement where I have to run my test which clicks on all links with in a section. Can someone help me with the Java code for this. Attached a image...
Memberg asked 10/9, 2015 at 9:26
10
I am trying to clear a text field using this action:
emailField.sendKeys("gmail.com");
emailField.sendKeys(Keys.CONTROL,"a",Keys.DELETE);
In above code, the last line only selects the text, does...
Downandout asked 6/3, 2016 at 19:0
5
What I want to do:
I want to open Chrome browser using Selenium ChromeDriver without the Chrome messages getting output to the console.
What I did:
from selenium import webdriver
driver = webdri...
Tempting asked 19/11, 2018 at 10:21
5
I'm writing a selenium test which has different behavior given whether the chrome browser was started as headless or not. My question is in my test how do I detect if the browser is headless for my...
Paronym asked 13/7, 2018 at 14:21
2
When I try to create a Firefox instance in Selenium, I get the following error:
Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.bin...
Reprobative asked 19/11, 2020 at 8:44
3
Solved
I see that you can set where to download a file to through Webdriver, as follows:
fp = webdriver.FirefoxProfile()
fp.set_preference("browser.download.folderList",2)
fp.set_preference(&qu...
Kerf asked 9/11, 2012 at 23:20
6
Solved
I tried crawling a specific site using selenium and webdriver_manager.chrome, and my code crawled elements of that site totally. But after crawling, the following error message appears in the conso...
Ahimsa asked 12/5, 2021 at 9:42
19
Solved
I'm using the Python bindings to run Selenium WebDriver:
from selenium import webdriver
wd = webdriver.Firefox()
I know I can grab a webelement like so:
elem = wd.find_element_by_css_selector('#my...
Sanderson asked 31/8, 2011 at 21:44
5
Solved
The error is:
Exception in thread "main"
org.openqa.selenium.ElementNotInteractableException: Element is not reachable by keyboard
The code is:
System.setProperty("webdriver.gecko....
Wolsky asked 16/4, 2018 at 19:35
1
I am trying to use Chrome along with python webdriver + selenium, but it seems not working when I set the proxy settings? Here is my code:
from selenium import webdriver
PROXY = 'http://42.115.8...
Mores asked 25/1, 2019 at 4:16
4
Solved
I am trying to select an Iframe by a class name but it's not working , I am trying with tagName it works but then when I tried to type within the element in the Iframe I couldn't, could you please ...
Abusive asked 8/9, 2014 at 9:37
6
Solved
I want to get the selected label or value of a drop down using Selenium WebDriver and then print it on the console.
I am able to select any value from the drop down, but I am not able to retrieve ...
Tieck asked 13/8, 2012 at 13:13
17
How to handle the login pop up window using Selenium Webdriver? I have attached the sample screen here. How can I enter/input Username and Password to this login pop up/alert window?
Thanks & ...
Rustin asked 17/7, 2012 at 12:28
2
Solved
I'm attempting to use a headless chrome browser with selenium that also bypasses the bot detection test and currently using the the following project https://github.com/ultrafunkamsterdam/undetecte...
Eyebrow asked 1/1, 2021 at 12:48
© 2022 - 2024 — McMap. All rights reserved.