selenium-webdriver Questions

1

I have a working Python script on Windows using Selenium 3.141.0. When I switch to Selenium 4.9.1, I get the following error: selenium.common.exceptions.WebDriverException: Message: <!-- IE frie...
Solecism asked 1/6, 2023 at 20:51

7

Solved

I get below error when try to run Protractor test against chrome. My conf.ts import {Config} from 'protractor' export let config: Config = { framework: 'jasmine', // capabilities: { browserNam...

5

On Safari browser I need to select an Option from the dropdown. below code works for all the browsers except for Safari on Mac OS. I am using Safari 10.1.1 with selenium web driver version 3.3.1 I ...
Mariannmarianna asked 30/5, 2017 at 11:38

5

Solved

In the following code I need to print the color in Hex format. First Print statement is showing value in RGB format which is rgb(102,102,102). The Second statement is showing value in Hex which ...
Goof asked 29/10, 2013 at 20:54

2

Following code worked well in the past. After some days, I try to run it again but it throws such error. using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Support.UI; pub...
Breebreech asked 22/6, 2019 at 5:13

3

Solved

I was going through methods of ExpectedCondtions class and found one method: refreshed I can understand that the method can be used when you get StaleElementReferenceException and you want to retr...
Transfusion asked 19/1, 2015 at 14:25

6

Solved

I am using WebdriverIO for test automation. In wdio.conf.js file I have configured the 'baseUrl' property. I want to read the 'baseUrl' property value inside my test .js file. How can I do this? ...
Shakta asked 15/6, 2017 at 15:23

6

Solved

Someone please tell me a way to triple-click on selenium python. I tried this and other things but it did not work. for x in range(3) actions.click()
Equilibrium asked 4/8, 2020 at 19:5

19

I am getting the following error while using Selenium in python: selenium.common.exceptions.StaleElementReferenceException: Message: u'stale element reference: element is not attached to the page ...
Artemisia asked 18/11, 2014 at 20:28

2

I am running python script using selenium in aws lambda. I have created 2 layers 1 for selenium and 1 for chromedriver and headless-chromium. On execution I receive error Response { "errorMes...

8

I am using Selenium WebDriver and Java and I need to automate the file upload feature. I tried a lot, but the moment the Browse button is clicked and a new window opens the script stops executing f...
Rome asked 10/4, 2011 at 6:58

6

Can somebody tell me how to use the Chrome driver in Selenium for Linux platform? I have my chrome driver location at username/home/chromedriver. My code is: System.setProperty("webdriver.chrome...
Earthenware asked 7/9, 2013 at 14:2

6

Solved

In Selenium, I click a button and an alert box appears, and I tried to accept the alert box, but it gives me an error. element.click(); driver.switchTo().alert().accept(); It's very inconsiste...

2

I want to automate a script which verify certain contents in the webpage. The login page redirected several times before landing on an application page and these redirects were causing issues occ...

12

Solved

I'm attempting to set the request header 'Referer' to spoof a request coming from another site. We need the ability test that a specific referrer is used, which returns a specific form to the user,...
Retrorocket asked 26/3, 2013 at 18:51

3

I am using below ExpectedCondition method to ensure that element disappears and my test proceeds after that wait.until(EC.invisibility_of_element_located((By.XPATH,busyIndicator))) What I am doi...
Antony asked 24/7, 2014 at 8:24

6

I have a use case wherein there's a div element on the webpage, it appears like a popup dialog as soon as you click a link (its not an actual popup, its something like dialog boxes which opens in F...
Thurstan asked 4/7, 2017 at 12:15

8

Error tracelogs: DevTools listening on ws://127.0.0.1:54791/devtools/browser/6f264bcc-d44a-40d9-b6cf- 8b1655c97ccd Traceback (most recent call last): File "c:\Users\alsgn\OneDrive\desktop\myp...

10

Solved

Is there a way to capture browser logs while running automated test cases with Selenium? I found an article on how to capture JavaScript errors in Selenium. But that is just for Firefox and only fo...
Friend asked 21/8, 2014 at 16:30

3

Solved

I want to know if Selenium automation tool supports flex applications. Currently I have some flex application that need to be automated.
Ceceliacecil asked 31/1, 2013 at 6:33

12

My code is very simple code: WebDriver wd =new ChromeDriver(); System.setProperty("webdriver.chrome.driver", "D:\\List_of_Jar\\chromedriver.exe"); String baseUrl = "htt...
Concomitance asked 10/6, 2017 at 18:22

3

Solved

Everyone How are you? Now I am making the script to solve the recaptcha. Using python-capmonster module, I can get response. so I inputted the response in <Textarea> tag. driver.execute_scrip...
Ondrej asked 27/3, 2023 at 17:6

19

Solved

As part of my Selenium test for a login function, I would like to click a button by identifying its coordinates and instructing Selenium to click at those coordinates. This would be done without id...
Capello asked 21/7, 2011 at 11:33

11

Solved

I am practicing Selenium in Python and I wanted to fetch all the links on a web page using Selenium. For example, I want all the links in the href= property of all the <a> tags on http://psy...
Nephology asked 13/1, 2016 at 6:26

7

Solved

I am using Selenium WebDriver with java. I am fetching all links from webpage and trying to click each link one by one. I am getting below error: error org.openqa.selenium.StaleElementReference...
Andreandrea asked 19/11, 2012 at 5:20

© 2022 - 2024 — McMap. All rights reserved.