Category "selenium-webdriver"

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

Is it a wise thing to add validation functions into the Page Object Classes in a selenium automation framework based on Page Object Model?

I've frequently seen code where the test validation functions are frequently written into the Page Object classes themselves. Is there any use to doing this? Ma

Unable to click option in dropdown list selenium

I tried using the Select module, but when I do the Element is either not interactable or it is "not visible". Here are the relevant codes. HTML < head &g

How to install and setup Cucumber jar files in Eclipse for WebDriver Testing

I am fairly new to Java, eclipse, Cucumber and Selenium. I am just beginning to learn these. Overall, I am fairly new to StackoverFlow. I got problem that I am

Unable to locate element in Python Selenium with Chrome extension

I am trying to click on a button however when I do so I get an error stating that it cannot be found. NOTE: You will only see this button if you have the chrome

Connect Remote Database using Selenium Webdriver and run Test Cases from local machine through eclipse

I am using selenium web driver java built, the editor is eclipse. For testing one of our websites I am using Data-driven testing by fetching data from MySQL dat

How to set default download directory in selenium Chrome Capabilities?

Please find the below code with the chrome capabilities. In fact the browser is not downloading the file to the specified path. private static DesiredCapabili

The constructor WebDriverWait(chromeDriver, int) is undefined [closed]

WebDriverWait is not recognized even though it is imported in the eclipse IDE. Does anyone know the possible reason and fix for this?

How to run testng xml using gradle?

I am trying to run testng.xml using gradle task but looks like its not picking it. Can someone please help me in identifying what I am missing here? Do I need t

How to download a file using the remote selenium webdriver?

I am using a remote selenium webdriver to perform some tests. At some point, however, I need to download a file and check its contents. I am using the remote

selenium with geckodriver does not respect download dir and download filename when executing window.print();

I have a set up where I print the page as pdf using selenium+gecko. But, whatever I do, it does not seem to respect the download.dir option I set nor the downlo

How do I set browser width and height in Selenium WebDriver?

I'm using Selenium WebDriver for Python. I want instantiate the browser with a specific width and height. So far the closest I can get is: driver = webdriver.F

Handling dynamically generated ids in selenium webdriver

I am trying to automate testing of a webpage that contains list of items. User input item is selected and is deleted. Here, I need to select VD2 and delete that

Using Selenium in Python to click through all elements with the same class name

I am trying to click on all of the "like" buttons on a webpage. I know how to click on one of them, but I'd like to be able to click them all. They have the s

How to test email verification flow with dynamic email generation and get email data in automation?

I am facing a problem with registration and login flow where it is required to generate an email and get token for verification. I need a service which allows u

How to maximize Headless Chrome window in Robot Framework?

I'm not able to start Headless chrome with a maximized window. I tried two solutions but none of them worked for me. First solution : Open Browser ${LOGIN_