selenium-webdriver Questions

2

When I ran this code in VS Code, it gives msg that "no testcase ran in 0.2s". So, How can I ran testcases in VS Code. import pytest from selenium import webdriver from time import sleep f...

9

I am running a Docker image from a Docker container in AWS Batch environment. It was all working nicely for a while now, but since today I am getting the following error. E selenium.common.exceptio...

5

Solved

I am working on automating the IdentiGO application for my company, and I'm getting the following error: Internal Server Error: /identigo Traceback (most recent call last): File "/Users/jane/...
Outhouse asked 10/5, 2019 at 21:40

4

I'm trying to use selenium (in Python) to scrape a website, however, when I start the chrome web driver, it tries to load the page for a few seconds, and then closes the window and returns the foll...
Sick asked 31/5, 2020 at 9:20

4

When I launch Selenium's WebDriver (Chromedriver). A console window (chromedriver.exe) runs and it opens Chrome. I need to know how I can hide those like a silent mode because I get messy when ther...
Leisaleiser asked 5/3, 2016 at 18:59

6

Solved

What is Selenium? When you open the official page of the Selenium, the first thing you read is "Selenium automates browser" in "What is Selenium?" section. The section "Which part of Selenium is...
Zeculon asked 31/1, 2019 at 11:34

7

I have a Selenium script (Python) that clicks a reply button to make the class anonemail appear. The time it takes for the class anonemail to appear varies. Because of that I have to use sleep unti...

4

Solved

Is there any way to locate parent element in CSS Selector? i am using below code but i am not getting the parent element. WebElement we=dr.findElement(By.cssSelector("div[id='gf-BIG']:parent")); ...
Vassalage asked 23/6, 2015 at 4:28

4

Solved

When running this code: from selenium import webdriver from selenium.webdriver.common.keys import Keys from webdrivermanager.chrome import ChromeDriverManager driver = webdriver.Chrome(ChromeDrive...

42

I am currently new to robot framework.I am currently using latest window version of chrome and chromedriver which is 80 but when i try to run the test it gives the message "SessionNotCreatedExcepti...

2

Solved

Is it possible to require that a struct have a particular field as part of a trait? I am doing some web automation in Rust with the thirtyfour_sync crate. I want to write some traits with default i...
Potamic asked 29/6, 2021 at 2:31

8

I have seen that chromedriver can output a logfile (https://sites.google.com/a/chromium.org/chromedriver/logging) This page shows how to set this up when executing the exe directly: chromedriver....

23

Solved

Recently I switched computers and since then I can't launch chrome with selenium. I've also tried Firefox but the browser instance just doesn't launch. from selenium import webdriver d = webdriver...
Emilioemily asked 30/10, 2018 at 21:54

4

Solved

I have been using the the suggested solution from : https://mcmap.net/q/1586369/-how-can-i-tell-selenium-to-press-cancel-on-a-print-popup And it worked perfectly since Chrome 71. executor.execut...
Uncircumcision asked 24/7, 2019 at 18:36

11

I'm using Selenium Webdriver (in Python) to automate the downloading of thousands of files. I want to set Chrome's download folder programmatically. After reading this, I tried this: chromepath = ...

2

Solved

Using python, the method WebDriverWait is used to wait for 1 element to be present on the webpage. How can this method be used without multiple try/except? Is there an OR option for multiple cases...
Reparation asked 2/3, 2020 at 20:30

3

Hey i have been tying to write a code that should login to a website, everything worked fine and then this happened "org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establ...
Lucchesi asked 14/3, 2023 at 11:7

3

Note: My question was closed earlier, I tried solutions mentioned here - unknown error: session deleted because of page crash from unknown error: cannot determine loading status from tab crashed wi...
Bibeau asked 13/3, 2020 at 2:3

10

Solved

I'm using InstaPy which use Python and Selenium. I start the script per Cron and from time to time it crashes. So it'r really irregular, sometimes it runs well through. I'v posted on GitHub Repo as...

6

I have searched the web for a solution to "auto-update" my Selenium EdgeDriver automatically. For those who use SeleniumBasic, you know it can be a hassle to manually download the driver ...

9

Solved

Press TAB and then ENTER key in Selenium WebDriver GenericKeywords.typein(class.variable, PageLength); pagelength is nothing but string. After this code, I have to give Tab key. I don't know how ...
Masry asked 29/10, 2014 at 8:51

9

Solved

Suddenly today all my tests stopped working, giving me following error message: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver on...
Wheatworm asked 4/3, 2022 at 10:45

4

I have a page which loads dynamic content with ajax and then redirects after a certain amount of time (not fixed). How can I force Selenium Webdriver to wait for the page to redirect then go to a d...
Sparrow asked 12/10, 2016 at 15:42

1

I'm using Selenium and ChromeDriver to automate the scraping of data from various websites on a Mac (arm-64). Whenever Chrome updates to a new major version, I have had to download and install the ...
Bullheaded asked 13/9, 2023 at 19:7

0

I have been using selenium-wire to intercept and work with requests and responses headers, but now in 2024 selenium-wire is no longer maintained so I wonder what would be the alternative from now o...
Electromotor asked 25/1 at 9:42

© 2022 - 2024 — McMap. All rights reserved.