selenium-webdriver Questions
4
I came in to the office yesterday morning to find that my Capybara tests couldn't interact with Chrome. I'm seeing
Selenium::WebDriver::Error::UnknownError: unknown error: unable to discover open ...
Khano asked 16/1, 2014 at 15:47
11
Solved
I'm having the following issue:
When I'm running my automation tests, I keep getting the following alert "Disable Developer Mode Extension" in Chrome.
Is there a way to remove/disable this?. It ...
Savoirvivre asked 15/4, 2014 at 15:8
7
I have a container, which contains number of elements. I am looping thru the elements. My question is what is the syntax for checking if the element is not clickable.
Supranatural asked 14/6, 2015 at 6:47
4
Solved
I have the below html code.
<div align="center">
<input type="file" name="filePath"><br>
<input type="Submit" value="Upload File"><br>
</div>
I am trying to...
Nucleotidase asked 21/1, 2018 at 9:7
4
Solved
When starting the function
def run(driver_path):
driver = webdriver.Chrome(executable_path=driver_path)
driver.get('https://tproger.ru/quiz/real-programmer/')
button = driver.find_element_by_cla...
Raimes asked 7/11, 2021 at 17:53
3
Hi I am trying to write autonomous test using Webdriver for firefox profile, I enabled the javascript equal to true while creating Driver object.
In some view jquery responses late so for that I t...
Issue asked 20/6, 2013 at 8:35
7
Solved
Why should I use @FindBy vs driver.findElement()?
@FindBy forces me to move all my variables to a class level (when most of them only need to be at the method level). The only thing it seems to bu...
Danube asked 26/8, 2013 at 3:15
18
Solved
I am developing my Selenium-JVM framework with Cucumber and while running my first feature got below error.
Please help.
How did I launch the feature -
Right click on feature file
Select Run A...
Sandrocottus asked 18/9, 2014 at 22:26
5
Solved
My code is working all fine when I don't run chrome in headless mode, but in headless mode I get 'Element not interactable'.
I get error at email_box.send_keys('')
And I have set the window size, s...
Schaab asked 7/9, 2020 at 20:41
4
I will test a web-app. there is a button available in my table to select all entries.
I've tried:
driver.wait.until(ExpectedCondition.element_to_be_clickable((By.XPATH, "myXpath"))).click()
sele...
Orangutan asked 23/1, 2015 at 12:32
2
Solved
I've spent several days trying to solve this issue I'm encountering with the following code:
caps = Selenium::WebDriver::Remote::Capabilities.chrome(
"chromeOptions" => {
:args =>...
Amiss asked 4/3, 2021 at 16:5
4
When I'm trying to execute my <configuration>.js file, I'm getting the error below:
[14:49:13] I/launcher - Running 1 instances of WebDriver
[14:49:13] I/direct - Using ChromeDriver directly...
Toothless asked 29/5, 2017 at 14:43
6
Solved
In Selenium with Python is it possible to get all the children of a WebElement as a list?
Forespent asked 17/7, 2014 at 5:0
3
Solved
When I try to do code shown below I get error :
TypeError: 'str' object is not callable
email2_elem = driver.find_element_by_xpath("/html/body/div[1]/div[2]/div[1]/div[1]/div[1]/form[1]/div[1]...
Peursem asked 3/4, 2019 at 6:39
7
I am trying to locate Add to Cart button on Flipkart but it does not work
I have tried below xpaths but none works
By AddToCart= By.xpath("//button[@class='_2AkmmA _2Npkh4 _2MWPVK'][text()='ADD T...
Poseidon asked 8/1, 2020 at 17:3
6
I am trying to run my automation tests from Jenkins CI server (built with Gradle), but the browser crashes instantly with the error below. It also crashes when I run gradle test from the console. N...
Epithet asked 27/3, 2018 at 16:33
3
I keep getting an error as below:
NameError: name 'By' is not defined
for the code
chrome_driver_path = r"C:\chromedriver.exe"
from selenium import webdriver
from selenium.webdriver.sup...
Inhesion asked 19/6, 2017 at 11:57
4
Solved
I have written a script that opens a web browser using python and Selenium. It works fine with Firefox using the following code:
from selenium import webdriver
driver = webdriver.Firefox()
When ...
Hyperaesthesia asked 24/7, 2014 at 4:23
8
Solved
I am using selenium to automate a mail verification process in a web application. I have a script already in place to login to gmail and read an activation mail received on the account. The script ...
Jalbert asked 22/8, 2019 at 6:10
6
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 Er...
Lifeline asked 30/12, 2019 at 16:36
0
This question is absolutely the same as this. But solutions there are not working for me :(
I'm using undetected-chromedriver, webdriver-manager and trying to put selenium scrapper behind the scene...
Brio asked 24/9, 2022 at 21:14
6
Solved
I'm following page object design pattern for Selenium automation and I can guess that many people store locators in .properties file and access them in code. It seems great to keep locators at sepa...
Antilog asked 22/1, 2015 at 14:41
2
There is a list of recognized "capabilities" in Webdriver and "debuggerAddress" is among them.
But I can't find a way to set such option neither in Capabilities class not in Cro...
Itin asked 15/3, 2016 at 11:7
3
Trying to scroll within a box that has its own scrollbar. Tried numerous ways all have either failed or were not good enough.
heres the html of the scrollbar
<div id="mCSB_2_dragger_vertica...
Prolactin asked 4/10, 2020 at 0:11
6
How to count the rows in the table from web application by using selenium python web driver. Here we can retrieve all data in the table from web application but couldn't count the rows and columns,...
Slapup asked 12/2, 2013 at 11:4
© 2022 - 2024 — McMap. All rights reserved.