Category "selenium"

How to scroll smoothly with Selenium WebDriver and/or Sikuli in Java

As part of a test suite measuring FPS for a web application I need to perform a smooth scroll of the web page. That is, the same smoothness as when a user grabs

How to turn off 'Enhanced Tracking Protection' for Firefox browser via Selenium WebDriver?

My Selenium Java test script runs on Firefox browser. Recently, it has started failing on applications where 'Enhanced Tracking Protection' is turned on. https:

How can I specify the number of elements that test positive for the locator I'm using?

In Selenium when waiting for an element to load how can I specify the number of elements that test positive for the locator I'm using? This is my case, I want t

How to scroll smoothly with Selenium WebDriver and/or Sikuli in Java

As part of a test suite measuring FPS for a web application I need to perform a smooth scroll of the web page. That is, the same smoothness as when a user grabs

How I can Sort this Draggable List in Selenium

Link for Practice https://demoqa.com/sortable I tried with this code Actions action=new Actions(driver); List<WebElement> elements=driver.findElements(By.

Slow scrolling down the page using Selenium

I'm trying to scrape some data from flight search page. This page works this way: You fill in a form and then you click on the button search - this is ok. W

Iterate through a dictionary and through selenium objects to fill the boxes with corresponding values

Basically I have a html div that contains multiple inputs(for name, surname,etc...). I want to iterate through those inputs with the for loop below shown and in

How to Load more/show more pagination with scrapy-selenium

Getting response but scraping nothing! import scrapy from scrapy.selector import Selector from selenium import webdriver from selenium.webdriver.common.action_c

Chromedriver UI interaction hangs and eventually times out when the same browser is being viewed via chrome://inspect

I have the following set up: Docker container running webdriver driven test where the chrome debugger port has been exposed; chrome, chromedriver and the test s

How Do I Automatically Update the ChromeDriver or EdgeDriver in VBA?

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 ma

How to click on a descendant li element with Selenium?

I am automating with selenium and reached a point where I click a drop down and there are 3 options and they are in a ul list, and each option is an li role. I

Is there plugin for VS code that can automatically handle my webdriver imports? [closed]

I am learning selenium and I am having an issue with from where to import stuff. For example, when I want to use WebDriverWait I need to impor

How can I click on each link on a page and then return to the initial page using Robot Framework?

I have this link : https://pubmed.ncbi.nlm.nih.gov/?term=Fleiss+B and I want to click on each link, extract some information and then comeback to the initial pa

How to generate an extent report for POM QA automation framework with updated classes?

I am developing a QA automation framework using a Page Object Model in C#. I want to get a report about passed and failed test cases. I think Extent Reports is

How to wait for angular requests to complete for automation testing

I am facing issues while automating Spartacus angular application using selenium java. Selenium is not waiting for all angular requests to complete. As the requ

Autocomplete section in Selenium

I have the list which has multiple links under each section. Each section has different links. I need to click a particular link under each section. I have writ

How to open new URL in the same tab with Selenium, but with some way with editing the URL?

I want to open a new URL in the same tab in Selenium, but I need to somehow edit the URL. What working options are there? I am thinking about navigating by keys

Trouble modifying the language option in selenium python bindings

I've created a script in python in combination with selenium to scrape different app names from google play store and they all are coming through when I execute

How to locate random id generated by a modal?

I was testing my website using RF. The problem is, every time the modal is opened, a different id(locator) will be set on the textbox that I want to input my te

Python selenium : Explicitly wait for one of two elements to be loaded

Is there a way using which I can wait for one of two elements to get loaded in selenium. I am using explicit waits and so far, haven't been able to figure out t