Category "selenium"

Running pyinstaller another pc with Chromedriver

I am trying to add Chromedriver inside an executable in pyinstaller. While this is possible it seems that I get the below error message when trying to run this

Run Java Selenium tests in Azure DevOps release pipeline

I'm doing a POC for a Java project in an AzureDevops CI/CD pipeline. I created a Maven project that has Selenium tests (TestNG) that run against a demo website

Running forced automated translation in Google Chrome and Edge. Translation not working

I am trying to run different web page translations in Google Chrome and edge. This is the option I would want to use for all languages to English. I have tried

Chromedriver for Chrome 77 is supposed to support headless downloads, but download still doesn't work

On the ChromeDriver downloads page (https://chromedriver.chromium.org/downloads) it lists "Support to save file downloads in headless mode" as a feature for Chr

Selenium handling html elements inside object tag

I'm struggling with validating html elements inside html object tag. Following is my test html (test1.html). <html> <body> <h1>this is t

Click a button in a table, but all rows contain automatically generated identical buttons in Selenium

I am currently doing QA Automation on a web application with Selenium WebDriver, and the language I decided to use is Python 3. Everything was going great until

How to long press (Press and Hold) mouse left key using only Selenium in Python

I am trying to scrape some review data from the Walmart site using Selenium in Python, but it connects this site for human verification. After inspecting this '

setValue is not a function webdriver io 7

i'm trying to use the function of webdriver io 7 setValue() but I always received the same result. I post my code. This is the page object Home import Page from

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