selenium-webdriver Questions

2

We are using selenium web driver and python for our test automation and trying to automate html5 app with shadow dom design. Unable to identify any elements that come under shadow-root. For eg. If ...
Cappello asked 21/3, 2016 at 21:11

2

I've been trying to change the way I start the Selenium grid service from a shell script in .rclocal to a systemd service, but it is not working. The script is this: #!/bin/bash java -jar /opt/s...

7

How to enter characters one by one in to a text field in selenium webdriver? I have used the below code but it's not working getDriver().findElement(By.id("PhoneNumber")).sendKeys(Keys.chord("9876...
Primalia asked 30/6, 2014 at 14:44

5

Edit: New title. What I'm looking for is a document.querySelector for elements inside an iframe. I've done quite a bit of Googling for an answer and finally I'm stumped. I'm trying to query insid...
Gormandize asked 29/10, 2014 at 12:35

4

What is the default location of ChromeDriver binary and Chrome binary on windows 7 for triggering appium using java-client.jar? if i am using RemoteWebDriver and tries to initiate chrome browser, f...

1

I started working on Selenium (C#) and, to my surprise, I cannot run even the simplest project from the Selenium Docs. However, my collegues can run it normally out of the box with no problems. The...

7

Solved

Ahoy, how do I disable GeckoDriver's log file in selenium, python 3? If that's not possible, how do I relocate it to Temp files?
Chemosphere asked 1/5, 2018 at 0:25

10

Solved

I am converting my selenium 1 code to selenium 2 and can't find any easy way to select a label in a drop down menu or get the selected value of a drop down. Do you know how to do that in Selenium 2...
Coefficient asked 21/6, 2011 at 18:51

11

Is there a way to get the on-screen coordinates of HTML window (page body) with Selenium WebDriver?
Nolasco asked 24/12, 2013 at 13:4

4

Solved

We are doing automation for a web application and most of the scenarios have a loading icon appearing at the center of a page. We need to wait for this loading icon to disappear. The HTML: <div ...
Kumkumagai asked 11/8, 2014 at 9:21

8

Solved

I am using the Selenium-Firefox-driver and Selenium-Chrome-Driver version 2.0a5 (Web Driver API), and I am trying to test a web app that has BASIC authentication (there is a popup that come up to a...

4

Solved

How can I load session and cookies from Selenium browser? The following code: import requests cookies = [{u'domain': u'academics.vit.ac.in', u'name': u'ASPSESSIONIDAEQDTQRB', u'value': u'ADGIJG...
Waine asked 10/4, 2015 at 13:56

3

There's a hidden input field in which I'm trying to insert a specific date value. The field originally produces a value, from which a user can select an appropriate value. The page's source code lo...
Coccyx asked 15/10, 2013 at 15:56

15

Solved

Is there a way to press the Ctrl + A keys using Selenium WebDriver? I checked the Selenium libraries and found that Selenium allows key press of special and function keys only.
Edelsten asked 16/7, 2012 at 11:54

10

Solved

I can not seem to find any documentation on how to make Selenium open the browser in incognito mode. Do I have to setup a custom profile in the browser or?

2

Solved

I'm trying to write Login credentials using send_keys element method with Selenium on this alert: Login Alert I get this alert after clicking on a button in a new window but I can't inspect the ele...
Conformable asked 19/3, 2022 at 11:13

1

Solved

webElement.SendKeys(Keys.Control + "t"); This code is not working for me. String n = Keys.chord(Keys.CONTROL, Keys.ENTER); driver.findElement(By.id("open-tab")).sendKeys(n); In...
Dalton asked 19/3, 2022 at 12:0

0

I have a requirement where I need to run test scenarios of validating my webpage in Amazon linux2 instance without any GUI. Hence I selected PhantomJS/GhostDriver to perform these executions. I als...

3

Solved

I am trying to scrape a few pages of a website with selenium and use the results but when I run the function twice [WinError 10061] No connection could be made because the target machine actively r...

17

Solved

In tests that I write, if I want to assert a WebElement is present on the page, I can do a simple: driver.findElement(By.linkText("Test Search")); This will pass if it exists and it will bomb ou...
Dividers asked 19/7, 2010 at 17:17

2

Solved

This is the HTML file I have. I am trying to use Selenium-Webdriver API along with ChromeDriver to send_keys to an input filed inside the <body>. But I can't access anything which is inside o...
Overbear asked 31/1, 2014 at 7:25

4

I see that there's a relatively new option to open Chrome with Devtools open from the command line, which I have gotten to work from my Windows 8.1 command line using a call like this: c:\Program ...
Mouthwatering asked 7/6, 2016 at 15:31

2

I'm using selenium with firefox 82.0.3 (64) The code is working properly but the issue is that it is saying browser is under remote control. Is there any way to solve it or other ways to bypass it....

1

I am using 3rd party software to create a fancy application GUI with several buttons. Each buttons will execute different .py file/.exe file. For instance:- btnYahoo = execute yahoo.py/yahoo.exe ...
Partnership asked 13/2, 2019 at 17:29

4

Solved

I've been having trouble figuring out how to get a variable to work Selenium. This post seems to have helped (Variable not working inside parenthesis) but I still can't get it to work. When I used...
Kisumu asked 30/9, 2015 at 19:56

© 2022 - 2024 — McMap. All rights reserved.