Category "selenium"

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

Selenium Chrome Webdriver process Working Locally But Not On Heroku

So I have the following Selenium Chrome Webdriver process that is working correctly locally. Basically, when the below code is run, a purchase is made through

aws lambda: How to fix 'geckodriver' executable needs to be in PATH"

So I am trying to use firefox in aws lambda runtime Python3.6 I have added my dependencies using layers in this order: selenium3.14, geckodriver25 and firefox

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

Python, pyautogui: how to explicitly for os to find required file/dir?

I am writing Selenium tests and faced an issue when I need to upload an image, but the input I want to interact with is hidden from view and doesn't have a 'val

Problem with devTools.send(Emulation.setDeviceMetricsOverride selenium 4

Selenium 4: I have an error on this line of code : devTools.send(Emulation.setDeviceMetricsOverride(600, 1000, 50, true, Optional.empty(), Optional.empty(),