Category "selenium"

Can't login to Target.com with Selenium

I'm working on a online purchase bot for target.com and I've run into a blocker. Upon providing correct username and password combination on the login page and

How to create list of rows from a table

I have a table on a webpage. I want to create a list from rows of the table. I will then process the list items. Each table row has an attribute name="entr

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

Generating a Selenium Report with Allure

I want to get the report of my Selenium Junit Test using Allure. I installed Allure via Homebrew and my version is 1.4.23. Below is my pom.xml <?xml version=

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

launching chrome or IE via selenium VBA

I have written a code for web data downloading using selenium VBA, it works good in Firefox, but many time Firefox is crashing. I tried to launch chrome/IE from

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

Unable to locate the Sign In element within #shadow-root (open) using Selenium and Python

I'm trying to use selenium to automate some actions but am unable to find the first element on the page https://developer.servicenow.com/dev.do and so cannot lo

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

Check Selected Product and product which is added to cart are same or not

I have searched for a mobile product which is of type " Asus Zenfone 5 " in flipkart.com website, search display many products. I selected first product and add

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

Why use Page Factory?

I am a new test engineer and have been reading about Page Object Model and implementing them and keep coming across Page Factory. I understand that Page Factory

What is the correct way to run mobile UI tests using Appium?

Using Selenium webdriver we can open needed webpage like a precondition before our tests. But how to realize the same way in mobile and does it make any sence?

Selenium Can't locate the element while trying to click

I was scraping fembed just as a personal project but I kept running into errors.For getting the streaming url I needed to click the get the request through sele

What is a Selenium wrapper?

Does it wrap around Selenium and provide a simpler or different method of invoking the functionality of Selenium? I looked it up on Google and the best informat

How to install custom extension to headless Firefox in Linux?

Automated tests with Selenium are awesome, but how to do them on headless Firefox with a pre-installed extension? I found this for Chrome, but nothing for Fir

How to get request headers in Selenium

https://www.sahibinden.com/en If you open it incognito window and check headers in Fiddler then these are the two main headers you get: When I click the las

WebDriverException: no chrome binary at /usr/bin/google-chrome-stable or chrome binary not found

I am executing selenium test via Jenkins server in AWS Ubuntu. I was getting chrome binary not found error so I set chrome binary in my code. System.setPrope

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_

Could not find or load main class org.testng.remote.RemoteTestNG - in Eclipse

I've tried to update Selenium webdriver version and now i cant run my tests because of following exception: Error: Could not find or load main class org.t