selenium-webdriver Questions

3

Solved

I want to use selenium/webdriver to simulate a browser and scrape some website-content with it. Even if its not the fastest method, for me it has many advantages such as executing scripts etc. For...
Demurral asked 15/7, 2013 at 11:53

3

Solved

I have the following HTML structure and I am trying to use Selenium to enter a value of NUM: <div class="MY_HEADING_A"> <div class="TitleA">My title</div> &l...

9

I want get captcha image from browser. I have got a url of this picture, but the this picture changes each updated time (url is constant). Is there any solution to get picture from browser (like '...
Jody asked 28/6, 2013 at 9:42

20

Solved

I am using Selenium to launch a browser. How can I deal with the webpages (URLs) that will ask the browser to accept a certificate or not? In Firefox, I may have a website like that asks me to acc...

5

I'm trying to use the Selenium WebDriver and ChromeDriver to connect to an existing session and set the download folder. For some reason, it always fails and throws the following errors: >>&g...

9

Solved

After updating Chrome to version 76, I cannot figure out how to hide the "Chrome is being controlled by automated software..." notification overriding some controls on the page. The latest stable ...
Acrosstheboard asked 31/7, 2019 at 21:12

3

I try to run a selenium program on a Linux machine.But I got the exceptions: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pytho...
Mcdonough asked 18/10, 2017 at 11:29

2

Solved

I need to send text to description textarea. There is some predefined text which is cleared after click. I tried to use clear() or click() before sendkeys but nothing works correctly. It will send ...
Moderation asked 16/10, 2017 at 12:46

2

I am running python 3.9 with the following code. When I run the script I get the error message. Not sure what I am missing. The element is called username. File "/Users/user/Documents/Pycharm...

1

Solved

I try this code: Human-like mouse movements via Selenium but trying to figure out how to integrate it in a real life scraper to follow with my mouse with different DOM elements: #!/usr/bin/python #...

7

Chrome version: 68.0.3440.106 Chrome webdriver version: ChromeDriver 2.41.578737 Python Version : Python 3.5.2 I write this code in python: from selenium import webdriver from selenium.webdriv...

8

Solved

We recently upgraded our Windows 10 test environment with ChromeDriver v87.0.4280.20 and Chrome v87.0.4280.66 (Official Build) (64-bit) and after the up-gradation even the minimal program is produc...

13

Solved

I have a problem with Google login. I want to login to my account but Google says that automation drivers are not allowed to log in. I am looking for a solution. Is it possible to get a cookie of n...

4

Solved

I am finding a textbox by its ID. I need to get the content which is already there inside the text box. For that I am using the gettext() method, but it is returning the ID value. The content in th...
Discalced asked 28/2, 2014 at 6:35

1

I am just starting to learn selenium but when I run the program it opens the chrome window for few seconds and then closes giving the error: DevTools listening on ws://127.0.0.1:52176/devtools/brow...

7

I am writing an program for a web automation in python. Is here a ways to hide the geckodriver? So that the console (see picture) won't show up when I start the program. console of geckodriver he...
Marylinmarylinda asked 30/8, 2017 at 5:28

2

Solved

I use selenium python. My code work success, the extension was added. But when I close the code, open the Firefox Profile which added extension by manually then the extension isn't installed. My co...
Enroot asked 6/7, 2022 at 12:26

3

Solved

In Selenium Nodejs, How can I get the current url of the page I'm testing (the moment my test script is running assume that the page initially has been redirected)
Bethanie asked 16/4, 2014 at 20:52

12

Solved

I have situation, when click on button opens the new browser window with search results. Is there any way to connect and focus to new opened browser window? And work with it, then return back to or...
Impetus asked 6/3, 2012 at 17:29

2

I'm asking this because I'm aware of this thread and this thread, and the others about the same subject, but the solution everyone forwards in the first thread no longer works. So please do not mar...
Sherwood asked 9/8, 2018 at 15:16

7

I am using a remote selenium webdriver to perform some tests. At some point, however, I need to download a file and check its contents. I am using the remote webdriver as follows (in python): PR...
Apotheosize asked 2/11, 2017 at 6:26

11

Solved

I am a newbie to Selenium and trying to open localhost:3000 page from Chrome via selenium driver. The code is : import com.google.common.base.Function; import org.openqa.selenium.By; import org....

4

var driverService = ChromeDriverService.CreateDefaultService(); driverService.HideCommandPromptWindow = true; var driver = new ChromeDriver(driverService, new ChromeOptions()); Is it possible to...
Tews asked 7/2, 2018 at 1:7

10

Solved

I've started a Selenium project in C#. Trying to wait for page to finish loading up and only afterwards proceed to next action. My code looks like this: loginPage.GoToLoginPage(); loginPage.Log...

3

Solved

I am trying to extract the text in an input box, <input type="text" name="inputbox" value="name" class="box"> I started with input = driver.find_element_by_name("inputbox") I tried inp...
Ridotto asked 30/8, 2014 at 8:36

© 2022 - 2024 — McMap. All rights reserved.