Category "selenium"

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 select option in drop down protractorjs e2e tests

I am trying to select an option from a drop down for the angular e2e tests using protractor. Here is the code snippet of the select option: <select id="loc

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 do you use credentials saved by the browser in auto login script in python 2.7?

When I manually open a browser, both firefox and chrome, and proceed to a website where I previously saved my login credentials via the browser, the username an

Code unreachable when adding Selenium ChromeOptions

For some reason my Python code displays as unreachable after adding a series of WebDriver options. Does anyone know why this is happening and how it can be fixe

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

Selenium give file name when downloading

I am working with a selenium script where I am trying to download a Excel file and give it a specific name. This is my code: Is there anyway that I can give th

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