Category "selenium"

How to associate chrome extension with specific tab?

I am opening chrome extension in a tab instead of pop up with following code: chrome-extension://xxxxxxxxxxxxxxxxxx/popup.html But when I do so the extension do

Verify color in selenium ide

I am actually looking at selenium IDE for testing many parts of websites, so I am new at this. I have been looking for verifying css styles attributes (for exam

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?

Drivers for selenium will not work 'chromedriver' executable needs to be in PATH

Very new to this, and I cannot get chromedriver or geckodriver to work. They are both located in /usr/local/bin/. So I know they are in PATH. My code: from

What XPath to select only non-taged text inside div. Selenium. Java

I want to select only the text "only this text" from the snipet below using XPath (in Java) but that text is random and I don't know what is written there. &l

How to ignore the fail case and continues to next value

I am looping values from an Excel file by using ${txnExcel} to search and compare the value. But sometimes ${txnExcel} is doesn't exist in the system. In that c

Selenium with Python(POM)

I am new in automation testing. I am learning automation using selenium with python(page object model). From learning YouTube I see that, log in is done for eve

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?