Category "selenium-webdriver"

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

Python Selenium Wait for user to click a button

Context: My script launch to a website using selenium webdriver The user fills in some stuff on the website The user will click a button which will popup a con

how to Use system properties to pass parameters to the runner/maven build

I want to run my test in three different preset resolution: 768x1024, 360x740, 1920x1024 using the existing framework. And I have to use system properties to pa

How to set timeout for "Page should contain element" in Robot Framework / Selnium when using "Create Webdriver"

I'm having an issue with the "Page should contain element" keyword in combination with the "Create webdriver" keyword. For example, using the "Open browser" key

Selenium Python - Get Network response body

I use Selenium to react to the reception of data following a GET request from a website. The API called by the website is not public, so if I use the URL of the

How to Handle Browser Popup (During the Download) using Java

currently we scrap the data from Websites using Web driver (Selenium)with Java, during that Scrapping we need to do some download process (i.e XML file Download