selenium-webdriver Questions

1

Solved

I'm trying to run a unit test in GitHub actions before deploying my AWS Lambda, where I'm running Selenium Webdriver with a functioning Selenium-chromium lambda layer (https://github.com/vittorio-n...

1

Solved

I'm trying to create a script which downloads a file from a website and for this I want to change the download filepath. When I try to do this with the Firefox options it gives me this error: TypeE...
Sepalous asked 12/12, 2021 at 17:30

4

Solved

I am working on video player automation. I am having difficulties in clicking at the end of the video player progress bar. Consider an example of youtube video. with the help of xpath i was able to...
Indignity asked 11/11, 2016 at 10:59

12

I'm new to both C# and Selenium WebDriver. I know how to select/click on an option in a drop-down list, but I've a problem before that. Since the drop-down list is dynamically generated, I have to...
Adventuresome asked 5/3, 2012 at 7:9

1

Solved

I am running tests on selenium grid using nunit C# with: selenium-standalone-server: v3.3.1 selenium webdriver: v3.3 geckodriver: 0.15 firefox: v52 Firefox is not installed on the default locat...
Fiance asked 16/3, 2017 at 23:49

3

Solved

I am doing browser automation and I am blocked at a certain point: at a moment, I ask the browser to click on a button, which in turn open up a new window. But sometimes the Internet is too slow, a...
Lawrenson asked 10/1, 2017 at 14:27

14

Once clicking a download button, files will be downloaded. Before executing next code, it needs to wait until the download completes. My code looks like this: Thread.sleep(2000); driver.findEleme...
Hazzard asked 28/3, 2014 at 13:22

4

Solved

When trying to automate our application, there are two buttons with same name. I'm not able to find a way to recognize these. Please let me know what could be the other ways to identify these elem...
Bessette asked 23/5, 2014 at 12:11

5

Solved

I want to close all open tabs (browser windows) without actually closing the driver, because I want to keep using it. driver.close() will just close the focused tab. driver.quit() will close them ...
Cyclamen asked 17/7, 2017 at 10:9

1

Solved

One of the ways WebDriver identifies itself as a bot to external websites is by setting the webdriver-active flag to true. A user on SO suggested that it is possible modify Chrome Driver source co...
Billingsgate asked 24/11, 2021 at 17:24

1

So, I'm trying to write a script to login on https://us.etrade.com/e/t/user/login I am using Selenium for this but it somehow detects selenium when it starts and results in a message that says that...

8

Existing code which takes screenshot of only visible screen. I am using the Chromedriver. System.setProperty("webdriver.chrome.driver", "D:/chromedriver/chromedriver.exe"); WebDriver driver = ne...
Paolo asked 23/3, 2017 at 10:33

28

I set up a python code to run Selenium chromedriver.exe. At the end of the run I have browser.close() to close the instance. (browser = webdriver.Chrome()) I believe it should release chromedriver....
Gonick asked 23/1, 2014 at 22:40

5

Solved

How to do a mouse hover/over using selenium webdriver to see the hidden menu without performing any mouse clicks? There is a hidden menu on website which i am testing that only appears on mouse ho...
Escaut asked 3/12, 2013 at 15:45

3

Solved

So our application works in production with a CORS enabled. I have a project that isn't CORS enabled locally. Is there a way to disable web security for protractor? Is there a way for me to add ar...
Contractor asked 13/10, 2015 at 21:56

6

Solved

As I am aware that user can click on Particular Webelement by using click method and one more way like using Sendkey Method with ASCII Value for left Click. By Click Method: driver.findElement(By....
Was asked 3/3, 2016 at 11:30

15

Solved

I'm trying to automate a very basic task in a website using selenium and chrome but somehow the website detects when chrome is driven by selenium and blocks every request. I suspect that the websit...

1

Solved

Google Slides has a option under tools >> Linked Objects called "Update all": This option updates all elements in the Presentation. Something similar can be done with Google App Sc...
Frae asked 16/11, 2021 at 15:55

3

So im scraping links using selenium. I can print my links with my loop but I cant navigate to them because I get the following error: selenium.common.exceptions.StaleElementReferenceException: Mes...
Delinda asked 24/11, 2019 at 9:0

5

Solved

I'm currently checking to see if a WebElement is stale by doing the following: public static boolean isStale(WebElement element) { try { element.click(); return false; } catch (StaleElementRef...
Westerman asked 20/8, 2014 at 23:1

9

From Parent window I'm passing the control to child window I'm performing actions in the child window After performing, from a child window one more window will open(Child of 1st child window). I ...
Unleash asked 31/1, 2013 at 7:7

13

Solved

I have a table with 9 rows and 6 columns in my webpage. I want to search for a text "MakeGoodDisabled-Programwise_09_44_38_461(n)" and get the xpath of the cell. I have used the following but it fa...
Gratin asked 29/8, 2013 at 12:8

3

I know this question has been asked before...but I've tried multiple approaches and for some reason anything I download from the driver keeps going to my Downloads folder. Basically I navigate to ...
Teddie asked 11/2, 2020 at 13:46

4

Solved

What does arguments[0] and arguments[1] mean when using executeScript() method from JavascriptExecutor interface through Selenium WebDriver and what is the purpose of the arguments[0] in the below ...
Culosio asked 17/4, 2018 at 6:40

3

Is there any way to get window title without making any switch in selenium? presently I'm using below code: public boolean switchToWindowByTitle(String title){ String currentWindow = driver.getW...
Paleobiology asked 10/9, 2014 at 8:10

© 2022 - 2024 — McMap. All rights reserved.