Category "selenium"

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

Unable to find the xpath of star using selenium & java

Thank you in advance ! url - https://www.tripadvisor.in/UserReviewEdit-g641714-d1156207-Club_Mahindra_Madikeri_Coorg-Madikeri_Kodagu_Coorg_Karnataka.html i ne

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

select radio button in selenium using python

I tried driver.find_element(By.XPATH, "//input[@value='option1']").click But Error message generated Note: value attributes is not supported by find_element ID

How to bypass Cloudflare bot protection in selenium

I need to grab some information from a site just for education purpose, however i cannot send requests because of the protection. I get The typical Checking-you

How to update few fields in JSON file and again read the JSON with updated values in selenium using Java

How to update few fields in JSON file and again read the JSON with updated values in selenium using Java. Below is my JSON : I want to update { "DemoFileJson

Running plotly dash selenium tests in gitlab CI

So I'm attempting to implement selenium tests within a GitLab ci pipeline. Currently, I've run these tests on my local system mirroring the testing method that

Find element using Selenium Basic for VBA

I'm trying automate data entry using Selenium Basic for Excel VBA. I've been able to log in to the website via locating the necessary element selectors on the l

Selenium Python timed out receiving message from renderer error

I want to add the plugin called metamask to my browser and check the amount of etherium in my wallet. But when I add the plugin, sometimes I get this error and

How to write a generic base64 screenshot method using selenium 4 with java and attach it to extent report on test failure?

method used currently public static String getScreenshot(String screenshotName) throws IOException { String dateName = new SimpleDateFormat("yyyyMMddhhm

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.

Selenium: How to execute scripts within the browser?

My current goal is to execute a script to my selenium browser that declares a var and then using DevTools access the variable in console log. Here is the confli

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

Selenium test cases get stuck in build agents. How to resolve?

We are running 200 - 300 UI test cases from an Azure pipeline. All the test cases are running on self hosted Windows agents, where all the dependencies are inst

Emulating a clipboard copy/paste with Selinum + Capybara

I have a "Copy Link" button in my frontend UI. When clicked, the URL inside an input box is copied to the user's clipboard with this JS: const copyTextarea = d

Connect to undetected-chromedriver docker image

I have been using https://hub.docker.com/r/selenium/standalone-chrome on my Synology NAS to use Selenium Webdriver to perform automated requests. I don't rememb