Category "selenium-webdriver"

Python HTMLTestRunner not generating report

I am having an problem in generating html report with HTMLTestRunner. I have created a test suite in a file called TestsSuite.py. Here's the code excerpt: impo

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

Python HTMLTestRunner not generating report

I am having an problem in generating html report with HTMLTestRunner. I have created a test suite in a file called TestsSuite.py. Here's the code excerpt: impo

How to handle Chrome browser 'Select a Certificate' windows popup

enter image description hereI am trying to access the my office mail to get the OTP code sent to my mail id. But with Selenium Webderiver I am not able to handl

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

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

Selenium4 and Snap install of Firefox with Geckodriver_v31 times out

I recently upgraded lubuntu 22.04 and it wanted a few things to be installed from the snap repository. Firefox was one of them. Currently I'm using Selenium 4.

Get title of window without switching in selenium webdriver

Is there any way to get window title without making any switch in selenium? presently I'm using below code: public boolean switchToWindowByTitle(String title)

Actions Selenium Java mouse action drag and drop not working when cursor type changes after clickandhold

Actions Selenium Java mouse action drag and drop not working when cursor type changes after clickandhold Use case: Mouse cursor type: Pointer Move to source ele

safardriver closes automatically before driver.close() is called in @Aftermethod

I'm running below test scripts in safari browser version 5.1.7 on windows 7. After running @test method I'm calling driver.quit() in @aftermethod. But safari b

[Errno 10054], selenium chromedriver crashing each time

Every time I open up Chrome driver in my python script, it says "chromedriver.exe has stopped working" and crashes my script with the error: [Errno 10054] An ex

session not created exception while running Selenium webdriver

Till yesterday: The below code was working fine. System.setProperty("webdriver.chrome.driver", "/Users../Applications/chromedriver"); WebDriver driver = new C

Create Selenium Webdriver once and use in Cucumber's all steps

I've experience in Back-End automation testing, but I'm new to Front-End. I've created BDD format tests for a website and now I want to automate it. I decided t

Appium IOS tests running when server started manually but not when server is started via AppiumDriverLocalService

Attempting to run Appium automation scripts on iOS (simulator) on a Mac Mini (M1 chip, if that's relevant). When I run the tests, they work just fine when the A

How to specify print location for PDF printing with Selenium

Whatever I do, the files keep getting printed into my Downloads (Windows default) folder, rather than specified folder. I did my research and apparently the sav

How to get Selenium C# control names for reporting

I'm wanting to report a line every time my selenium based automation framework clicks on a control. My object repository is storing individual controls like thi

How to automate graphs using Selenium, Java

I inject data into a web application and it generates a graph and a pie chart. I'd like to test the result on the graph is coherent with the given data through

Selenium WebDriverException: DevToolsActivePort file doesn't exist (Chromium browser)

I've seen the DevToolsActivePort error come up in a couple of StackOverflow posts, but not of the fixes for those have worked for me. I'm using a Chromium brows

xpath to find pseudo-element ::after in side a div element with out any content

I am trying to write xpath to find a checkbox selected or not, this checkbox is being changed using css ::after element. Below are two elements I have //d

Would it be the right approach to close and open a new WebDriver session between negative tests in Selenium?

I close my driver and reopen it between each negative test, for example - in my negative login test - if the test failed it means the login succeeded, then I cl