Category "selenium"

Javascript Selenium save screenshot in a different directory

Is there a way to store a saved screenshot in a specific directory rather than the default root folder? Thanks

Javascript Selenium save screenshot in a different directory

Is there a way to store a saved screenshot in a specific directory rather than the default root folder? Thanks

Can write any other code to move the question in MS-Form using Python selenium, if element class have changed?

I am trying to use Python Selenium to move the question in Microsoft Form by clicking "↓", move-question-down icon (Fig 1). The HTML structure is in Fig 2

How to use existing login token for telegram web using selenium webdriver

I'm trying to read telegram messages from https://web.telegram.org with selenium. When i open https://web.telegram.org in firefox i'm already logged in, but wh

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