Category "selenium"

How to wait until file is downloaded and also wait until the file is deleted from folder in Selenium Java

Have to download a file in multiple formats xls, pdf, rtf, csv, txt. But I have to check all these file formats are downloaded one after another So I have writt

i'm with an error or bug in the library selenium

I have this bug/error in selenium. Could you help me figure it out? i've already reinstalled the webdriver and it goes on like this my error DevTools listening

Fix wait time for Selenium Form using Python

I'm new to Python and am trying to automate a form fill up. I have done all the work but when trying to "Submit" it's not reading the XPATH and hence not clicki

getting NoSuchWindowException while scrapping twitter usernames using Selenium

I have been trying to scrape twitter usernames by going inside the followers page but the issue is if I leave my pc there after some time I get this exception a

Problem related to german Character (Ä,ö,ü) in Selenium Web Driver

Can anyone help my related to this problem: I have to assert a text in Selenium, and when irun it from Consol, then i am getting that asserrtion is failed: org.

Locating an element within another element

public LocatedCarParksMap locateAndClickOnTheCardByAddressIndicator(String location) { List<WebElement> quoteCards = driver.findElements(By.cs

How to parameterize the locators?

I am trying store all values required for locators in Property File: This is Property File: url=https://www.google.com value=search This is my object repos

CdpVersionFinder findNearestMatch WARNING: Unable to find an exact match for CDP version 100, so returning the closest version found: 99 with Selenium

I created a bunch of scripts which worked fine in December 2021. I'm running them now and a few of them execute and pass but suddenly the execution stops and it

Dynamic Web scrapping - Chromedriver security

I am trying to web-scrapp a dynamic page, simple urllib request gets me results from fist page only, instead of returning the whole set. from urllib import requ

Restricting browser drivers in selenium

I am a newbie to selenium. Just wanted to know how do I restrict the script to take only one version of a browser. I dont want to update my browser driver again

How to enable WebGL in Headless Chrome >= 96 within selenium-docker project to run Chrome inside a docker container without XVFB

I'm using selenium-docker project to run chrome inside a docker container, without XVFB (START_XVFB=false). I want to use webgl support. With chrome v95 and low

C# Selenium Webdriver

I started using selenium with CS and have one issue. When code is compiled, program cannot find webdriver path, because it's being moved into the .exe file. I f

Iterate Opening a List of URL's with Selenium

I am having trouble iterating the action of opening a list containing URLs using selenium. the issue is in the part labeled #Second Part in my code. linklinkfin

Selenium, default values assigned to web elements instead of the ones i am search for

I am sending text to an input field then within the array of elements searching for specific by checking if element text equal street address As you can see i

ChromeDevTools in selenium, waiting for response bodies

I need to work on ajax response, that is one of responses received upon visiting a page. I use selenium dev tools and java. I create a listener, that intercepts

Put value in divs per digit(6-digit code) with Python Selenium

I put value in 6-digit code but i cant continue. I do this: d = driver.find_element_by_xpath('//*[@id="root"]/div/div/div/div/div/div[2]/div[1]/div/div/div/

Selenium 4 in Python works with Edge option headless False, but not with True

So I have function which takes some information from a website (https://www.fragrantica.com/perfume/Dior/Sauvage-Eau-de-Parfum-48100.html ; and I want to take r

Selenium webdriver -> closing my chrome after one second

I have issue with selenium from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() options.binary_location = "

How do I get href attribute value from the given HTML using Python+Selenium?

I have HTML as shown (modified to make it brief) ht=<a class="title" href="http:/www.myref.com/1235" title="This is link to my ref">This is my ref</a&g

Impossible to click on element with selenium when browser not on mac current space

I'm using selenium in python to control a website. I use Firefox. I want to click on a mat-select element. When Firefox is on one of my Mac used spaces (or desk