Category "selenium-webdriver"

How to write a test case for the icon which is not displayed on the page due to permissions

I am trying to write test cases with the different Users with their permissions. I have a situation where there are two users Admin- with full permissions Layd

Web Scrapping Selenium , Multiple pages and product issue

i am doing scrapping using selenium but not able to get all the href of 25 pages and all 626 products listed by getting all the href of products and multiple fe

How to use actions or do scroll in app in Java?

TouchAction is deprecated. Any pointers for new usage to do vertical Scroll? Below code used. But not working as TouchAction is deprecated. Dimension dimension

Selenium webdriver is opening the browser, but not opening the given url

This is the screenshot of the error I'm getting. I have recently taken up the task to learn functional testing and web automation using selnium webdriver with

Click on a first table row

I have the following Angular code: <div class="ag-body-viewport ag-layout-normal ag-row-no-animation" ref="eBodyViewport" role="presentation">

Import "webdriver_manager.chrome" could not be resolved when using Selenium in VS Code

I'm trying to use Selenium to test a web app, and my tests are running smoothly using webdriver-manager. I already pip installed the webdriver_manager and selen

How correct scaling the page with Python + Selenium?

I am starting learn automation with python + selenium and I have the problem: When I use any of this scripts: self.driver.execute_script("document.body.style.t

Detect all names and get their link with Selenium Python

I want to make a search system when we enter a word in a variable, it search between all links’ names of this page (all the games) a little like a «

Unable to save the screenshot in Selenium using Robot class

When I try to take screenshot using the Robot Class. I'm getting javax.imageio.IIOException: Can't create an ImageOutputStream! error: Code Snippet: public

How to scrape a data from a dynamic website containing Javascript using Python?

I am trying to scrape data from https://www.doordash.com/food-delivery/chicago-il-restaurants/ The idea is to scrape all the data regarding the different resta

WebDriverException: target frame detached while interacting with elements within iframe using ChromeDriver Chrome and Selenium

I use Chromedriver 78.0.3904.70, WebDriverException: target frame detached exception has occurred, but in previous version of chromedriver all worked fine.

Interact with Dropdown with a "nesty-input" class using Selenium?

I am trying to automate complaints with the FCC. I'm having trouble interacting with a dropdown box located at https://consumercomplaints.fcc.gov/hc/en-us/reque

Selenium test Java maven dependencies

I created tests on selenium ide. I want to run java files on intellij idea. I prepared pom.xml like that but I have problem with running tests. dependencies>

Automation Google login with python and selenium shows ""This browser or app may be not secure""

I've tried login with Gmail or any Google services but it shows the following "This browser or app may not be secure" message: I also tried to do options like

find_element_by_* commands are deprecated in selenium

When starting the function def run(driver_path): driver = webdriver.Chrome(executable_path=driver_path) driver.get('https://tproger.ru/quiz/real

Why does Selenium's wait.until_not(EC.invisibility_of_element_located) wait for too long for a loader to disappear?

Which selenium.webdriver.support.expected_conditions are better to use when waiting for the invisibility of an element? In my case, I input data into a form, cl

How to headless mode with --user-data-dir=chrome-data chrome option

I am using python selenium for implementing tests. I need to keep login process so I don't log in every time. I use add_argument("--user-data-dir=chrome-data")

Selenium/Powershell/Linux: Connection refused [::ffff:127.0.0.1]:39343 (localhost:39343)

I'm trying to use a chrome driver on a linux virtual machine. I use selenium on powershell. When I run the following command: $driver = Start-SeChrome Here i

"TestNG No tests found. Nothing was run" while executing automated tests using Selenium through TestNG

I want to know what exact software should I install before I run my automation project. Selenium web driver, selenium java, testNG, junit was installed but th

How to access the <li> items using Selenium webdriver

I want to access <li> items in a webpage. From the given HTML, how can I access the list items such as User, Make & Model?? I am not able to retriev