webdriver Questions

4

Solved

How do I make selenium click on elements and scrape data before the page has fully loaded? My internet connection is quite terrible so it sometimes takes forever to load the page entirely, is there...

13

Solved

How to take a screenshot of the entire web page (full-page screenshot), not only partial (top-to-bottom) using Selenium WebDriver? My code: (Java bindings) System.setProperty("webdriver.chrome.dr...
Noisome asked 20/5, 2017 at 12:12

4

Is there any way to upload file in Google Chrome since Selenium RC "attach_file" only supports *Firefox? Any suggestion or workarounds are much appreciated.
Toothbrush asked 12/3, 2012 at 10:3

3

Solved

I know similar questions have been asked before, but I've tried many times and it still doesn't work for me. I only have a default profile in firefox (called c1r3g2wi.default) and no other profile...
Amaleta asked 19/6, 2012 at 6:8

12

Solved

I am having an issue with Selenium WebDriver. I try to click on a link that is outside the window page (you'd need to scroll up to see it). My current code is fairly standard: menuItem = driver.f...
Dday asked 20/8, 2012 at 9:16

3

Error is: TypeError: WebDriver.__init__() got multiple values for argument 'options' ` The code is: chrome_options = Options() chrome_options.add_argument('--headless') chrome_options.add_argument...

6

Solved

I write automated scripts for testing web applications that are very heavy on ajax. For example, a modal dialog is displayed with the text "Saving..." when saving settings, while a lightbox greys o...
Jollify asked 26/3, 2012 at 19:31

8

How can I filter elements that have the same class? <html> <body> <p class="content">Link1.</p> </body> </html> <html> <body> <p cl...
Fredrickafredrickson asked 2/5, 2015 at 12:29

8

I'm trying to test scrolling functionality by selenium webdriver. Same is working in Firefox but not in chrome driver. Here is basic code I'm using for scrolling. Actions a = new Actions(driver); ...
Hylomorphism asked 13/1, 2016 at 5:56

9

Running Selenium WebDriver 2.37.1 I'm receiving an intermittent problem when running a test and receive the following error: org.openqa.selenium.NoSuchElementException: no such element Sometim...
Outwork asked 18/11, 2013 at 11:37

29

Solved

I want to make sure that an element is present before the webdriver starts doing stuff. I'm trying to get something like this to work: WebDriverWait wait = new WebDriverWait(driver, new TimeSpan(0,...

22

Solved

I have a web application to test with Selenium. There is a lot of JavaScript running on page load. This JavaScript code is not so well written but I can't change anything. So waiting for an element...
Arcturus asked 23/5, 2012 at 12:52

3

I have added ChromeOptions options = new ChromeOptions(); options.AddArgument("--ignore-certificate-errors-spki-list"); options.AddArgument("--ignore-ssl-errors"); options.AddArgument("test-t...

4

I'd like to select some text and perform a click action - like in Winword where we click Bold after selecting some text... I have to select the text and click on the <B> bold icon in the tex...
Harappa asked 2/4, 2012 at 14:14

5

Solved

There is a block Ui which covers all the elements for a few seconds after the Element have been generated in the browser because of this i facing a problem ,Since element has come into existence th...
Jeaninejeanlouis asked 17/4, 2013 at 9:56

4

I'm setting up the CI job for automated testing in selenium inside Gitlab CI, but the test is failing due to the issue. 019-09-27T11:03:17.404Z INFO @wdio/cli:Launcher: Run onPrepare hook /builds/...
Belamy asked 27/9, 2019 at 12:42

9

if the browser window is in bg, then this line doesn't work. from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By # availabl...
Hooge asked 21/4, 2014 at 15:15

2

I hope you are all having a good day. I have been trying to disable the password manager bubble for the last 3 days now without any luck. The reeason why I want to disable it is because its interfe...
Hebraic asked 4/10, 2023 at 15:14

4

Solved

I'm currently successfully using the code below to use a proxy with the Selenium webdriver. Unfortunately, I can't seem to make it change the proxy settings without restarting the whole browser. I ...
Ferine asked 21/4, 2015 at 15:26

13

Solved

How can I save all cookies in Python's Selenium WebDriver to a .txt file, and then load them later? The documentation doesn't say much of anything about the getCookies function.
Cowpoke asked 25/2, 2013 at 0:33

7

Solved

For some unknown reasons ,my browser open test pages of my remote server very slowly. So I am thinking if I can reconnect to the browser after quitting the script but don't execute webdriver.quit()...
Unmindful asked 18/12, 2017 at 3:34

3

Solved

Error: Parameter Exception - was passed main parameter but no main parameter was defined in your arg class Snapshot of the error: Hub - 10.72.24.148:5555 I am running node using command line...

8

Solved

I'm trying to clear the cache and cookies in my chrome browser (webdriver from selenium) but I can't find any solutions for specifically the chrome driver. How do I clear the cache and cookies in P...

15

When taking a screenshot using Selenium Webdriver on windows with python, the screenshot is saved directly to the path of the program, is there a way to save the .png file to a specific directory? ...

5

I'm using Webdriver.io to run tests on a large number of pages. Because all the specs for the pages are in a JSON file, I have a special class that sets up the test. It looks like this: module.expo...
Razid asked 26/8, 2020 at 1:6

© 2022 - 2024 — McMap. All rights reserved.