Skip to content
Advertisement

Tag: selenium-webdriver

Test recording tool for Webdriver.IO

We are testing Webdriver.IO (https://webdriver.io/) with TypeScript to test if it could be a good framework for automating End-to-End GUI-tests on a Web-application. We have already tried Cypress and TestProject.IO, both of which have test-script recorders either natively built or with plugins or both. I couldn’t find a way to record end-to-end tests with Webdriver.IO – meaning I want to

What is the error OpenQA.Selenium.WebDriverException : javascript error: document.getElementByName is not a function

I got a error in executing the below line of code I got the error At line 3 document.getElementByName is not a function (Session info: chrome=87.0.4280.141) what is the reason for it? Answer The JavaScript method is document.getElementsByName(…) (plural – Elements not Element). This method returns a collection of elements, not a single element. Be sure to access the [0]

Unable to sign into google with selenium automation because of “This browser or app may not be secure.”

I am trying to login to google with selenium and I keep getting the error that “This browser or app may not be secure.” The function I use to log in is: It is the same problem as https://stackoverflow.com/questions/59433453/unable-to-log-into-google-account-in-selenium-chrome-driver and https://stackoverflow.com/questions/59276975/couldnt-sign-you-in-this-browser-or-app-may-be-insecure-python-selenium-chrome I have tried using both the chrome and firefox web drivers and both don’t work. I have also tried

Selenium: Scroll till end of the page

Selenium: I am new to WebDriverJS. I have tried this approach in Java. but I am facing problem in webdriverjs while iterating the loop. In my code I have hardcoded for loop to iterate until 50 times and I want to quit/break the loop when the scroll height is reached to end. In this approach, I want to remove hardcode

Advertisement