Category "selenium"

Why does Selenium's wait.until_not(EC.invisibility_of_element_located) wait for too long for a loader to disappear?

Which selenium.webdriver.support.expected_conditions are better to use when waiting for the invisibility of an element? In my case, I input data into a form, cl

pyvirtualdisplay - downloads are stuck as .part file

I have a python-selenium script running on a debian 11 server without any Desktop - thats why i use pyvirtualdisplay. The script has to login to a website and t

Selenium python : my current_url doesnt update after click

Im scraping a website where I need to retrieve values from the url when i click on a button providing different form values. I have a problem: when i click the

selenium twitter login without new device notification

Is there a way to log in to twitter with selenium/python without getting the notification "login from a new device" on Twitter? Current code is import urllib.re

Message: Tried to run command without establishing a connection

New to this, apologies for the novice question. Trying to run a script using Python, Selenium and the unittest module. Have the typical setUp(), test_1, test_2

How to headless mode with --user-data-dir=chrome-data chrome option

I am using python selenium for implementing tests. I need to keep login process so I don't log in every time. I use add_argument("--user-data-dir=chrome-data")

"TestNG No tests found. Nothing was run" while executing automated tests using Selenium through TestNG

I want to know what exact software should I install before I run my automation project. Selenium web driver, selenium java, testNG, junit was installed but th

Stop webpage from auto-reload with selenium/chromedriver

Im using python with the selenium package and the chromedriver to scrape a webpage. The page is automatically reloading itself (probably via java-script) every

How to modify .condarc file or use pinning to force conda to install the noarch selenium version when running "conda update --all"?

I would like to install selenium v4.1.0 on Anaconda python on Windows. https://anaconda.org/conda-forge/selenium If you run conda install selenium, conda will i

How to open url with selenium webdriver python with differents IPs?

from selenium import webdriver options = webdriver.ChromeOptions() options.add_argument('--proxy-server=125.62.213.229:82') browser = webdriver.Chrome(executa

How to capture network (XHR)? (Selenium 4)

How to capture network (XHR)? You can track the desired packs (XHR) in the Chrome (Open DevTools (F12) → Open tab “Network” → Select filte

C# Selenium - Can't access image url in another tag

I'm trying to validate image on website however can't access the url of the image. Most websites will have the image with a "src" tag however this website has t

Resize Selenium browser window to emulate a phone screen

I want to be able to resize the Selenium browser window to emulate a phone screen that is small enough (340,695). Is there a way to do that? This is what I have

Selenium new tab in Thread

I have to process 20 sites at the same time using Selenium class ThreadWithReturnValue(object): def __init__(self, target=None, args=(), **kwargs): s

How to change window selenium java?

I'm trying to access iframe inside html tag.xpath is not working.How to change my window to iframe in selenium(java/maven)?

Selenium ChromeDriver 101.0.4951.41 cannot start DevTools

Hi. I tried upgrade my chromedriver to 101.0.4951.41 today and it sudden keep prompt this error to me. Anything I missed or what I should add for new version?

chromedriver does not have .exe after extracting

I have downloaded te latest chromedriver 2.46 and extracted the chrome driver but it has no .exe extension and when i run the code the error appears, i also tri

Data provider reading null cells , how do i handle it?

I'm trying to get the values from an excel sheet of 2 rows, the 1st row are the headings and the second row is the data, when I execute the code the 1st set of

Log4j2 Logs are not printed neither on the console or in the RollingFile when executed on Jenkins or in Command line

I pushed my automation framework to Github and integrated it with Jenkins. I used Log4j2 to capture the logs in the runtime. This works perfectly fine when I ru

Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed

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 s