selenium Questions

12

Solved

I'm trying to add a screenshot to my ExtentReport HTML file, but for some reason, the image is not there even though it DOES exist and the console shows that it's looking at the correct place (href...
Laval asked 29/11, 2017 at 14:50

4

Solved

I'm new to Selenium and I'm having an error about CDP versions when running my code. This is my code. It's simple, aiming to log in into some web page. The driver opens, fills the email and passwor...
Situation asked 6/10, 2021 at 13:4

3

I have a Selenium UI couple of tests running on a Windows Server 2012 scheduled task. But I have them failing again and again in the scheduled task (not in my development server) and Internet Explo...
Unlash asked 24/10, 2014 at 15:11

4

Solved

In the frame I'm working with, I have the following element: <div class="x-grid3-cell-inner x-grid3-col-expRepCol"> New session from client IP 192.168.5.3 (ST=/CC=/C=) at VIP 192.168.5.2 Lis...
Multifoliate asked 20/11, 2014 at 21:2

3

I am working on a Linkedin web scraping project. I am trying to get the list of companies that interest someone (notice I am not using the API). It is a dynamic website, so I would need to scroll d...
Reparation asked 30/8, 2017 at 12:58

2

Solved

anybody know how to disable a debugger/logging in chrome webdriver in Python 3.6 ? I'm trying following code and it isn't working. chrome_options = webdriver.ChromeOptions() chrome_options.add_...
Hirz asked 5/12, 2017 at 8:29

4

I am trying to run a selenium test with python script, but I am receiving the following error when executing the test: Traceback (most recent call last): File "/var/www/html/selenium-scripts/examp...
Delfinadelfine asked 25/2, 2016 at 10:29

3

Solved

I tried code below in TEST.py:32 print("ChromeDriverManager().install() :", ChromeDriverManager().install()) [WDM] - ====== WebDriver manager ====== 2022-07-05 19:49:04,445 INFO ====== W...
Heterocyclic asked 5/7, 2022 at 10:57

5

Solved

I want to print all the href(links) from a website. All these hrefs are stored in an 'a' tag, and these a tags are stored in a 'li' tag. Now, I know how to select all the li's. I need a way to sele...
Gereron asked 13/10, 2016 at 13:11

9

Solved

I'm trying to start a selenium webdriverinstance, but I get this error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 97 Current browser ver...

6

I have python 3.8.0 (on a Windows PC) When I try to run: pip install selenium I get the following error: Fatal error in launcher: Unable to create process using '"c:\python38\python.exe" ...
Printable asked 17/4, 2020 at 18:16

2

I'd like to embed the Selenium ChromeDriver within a Windows Form panel. I've successfully followed this example for embedding notepad in a Windows Form. I think the problem where I am having troub...
Doti asked 4/5, 2018 at 19:33

8

Solved

I'm using the Firefox Webdriver in Python 2.7 on Windows to simulate opening (Ctrl+t) and closing (Ctrl + w) a new tab. Here's my code: from selenium import webdriver from selenium.webdriver.com...
Involuntary asked 20/9, 2014 at 18:23

7

Solved

I need to install chromedriver on Windows OS. In the article below they specify: https://sites.google.com/a/chromium.org/chromedriver/getting-started "...ChromeDriver expects you to have Chrom...

12

Solved

I'm using selenium and python via chromewebdriver (windows) in order to automate a task of downloading large amount of files from different pages. My code works, but the solution is far from ideal:...
Arrest asked 15/1, 2018 at 12:45

13

Solved

I have been writing selenium scripts for a while in Java. I encountered a very weird issue today. Here is the issue: I cleared a text field using webelement.clear() method, later while executing ne...
Nightcap asked 4/6, 2018 at 9:49

20

I am running automated tests in Chrome with Serenity BDD (Selenium). I had to download a new ChromeDriver, because my tests could not run -> The test would open ChromeDriver but could not "Browse ...

10

Solved

I am writing tests for a web App using selenium webDriver and came across a scenario where when I try to close the browser I get a popup saying "Are you sure? The page is asking you to confirm that...
Payable asked 28/7, 2011 at 0:9

2

Solved

I have written a web scraper for a mate to save him time at work. It is written in Python, using Selenium and opening a Firefox browser. I have written this code myself on a Linux machine I use P...
Zircon asked 7/4, 2017 at 5:44

3

Solved

I am using Selenium with Python to automaticlly extract some data from our power plants and right now I need to click on an element. The problem is that the element's xpaths and order change for ea...
Guarnerius asked 2/5, 2018 at 13:52

5

Solved

I have several tests which test the UI and also serve to create data along the way. A separate set of tests rely on this data, meaning that these must run only after the first set have run. I k...
Mullens asked 21/9, 2015 at 20:26

3

Solved

I'm writing a Python code using Selenium to optimize tasks on Google Sites. For this to be possible, you need to log into your Gmail account. I can't log into the account because Google doesn't rec...
Uproar asked 10/11, 2022 at 1:18

9

Solved

When my selenium program crashes due to some error, it seems to leave behind running processes. For example, here is my process list: carol 30186 0.0 0.0 103576 7196 pts/11 Sl 00:45 0:00 /home/c...

13

I am learning Selenium and I would like to try add the maven-compiler-plugin to pom.xml and reimport maven settings. So I found this example to do it http://maven.apache.org/plugins/maven-compiler-...
Pediment asked 7/2, 2020 at 20:26

5

Solved

I want to capture the traffic to sites I'm browsing to using Selenium with python and since the traffic will be https using a proxy won't get me far. My idea was to run phantomJS with selenium to ...
Sordino asked 20/4, 2016 at 13:0

© 2022 - 2024 — McMap. All rights reserved.