selenium-webdriver Questions

4

Solved

I had the automation tools which are written for IE. Now, I want to re-write those same tools this time to use Microsoft Edge as the default browser. I could not find the alternative approach other...
Gleeson asked 7/1, 2022 at 9:41

3

Solved

WebDriverWait is not recognized even though it is imported in the eclipse IDE. Does anyone know the possible reason and fix for this?
Reikoreilly asked 6/4, 2022 at 4:30

1

I have created a Selenium Full page screenshot test for Responsive tests using selenium. But if I am going to run against the SharePoint Site then it's not taking a full-page screenshot but If I'll...

2

I can find the element by xpath of driver.find_element_by_xpath('//*[@id="app"]/table/tbody/tr[1]/td[1]'). but any way i can return all children elements like tag and tag xpath? <tr> <td...

6

Solved

I have searched the Selenium Webdriver APi docs hosted on google code. Currently using the PageFactory to initlize my Page objects, but having issue initilizing a list of WebElement. What I need i...
Epithet asked 4/11, 2011 at 10:50

3

I need to scroll down page till end in the Selenium WebDriver. I tried to scroll down the page by using the following code snippet: JavascriptExecutor jse6 = (JavascriptExecutor) driver; jse6.exec...
Flavoring asked 23/3, 2017 at 17:26

5

Solved

I am working on a project with selenium to scrape the data, but I don't want the browser to open and pop up. I just wanted to hide the browser and also not to display it in the taskbar also... So...
Sex asked 5/3, 2020 at 10:14

10

Solved

Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it somewhere on your PATH. More info at http://code.goog...

4

Solved

Below is the HTML code of an element and I want to locate this element by classs and style property using selenium webDriver in java <div class="qooxdoo-table-cell" style="left:252px;width:11...
Mcelhaney asked 21/10, 2016 at 9:11

2

I am trying to run chrome using Python and selenium in a Docker container running alpine. It was running fine until one day when it started throwing the following error when I instantiated chrome. ...

6

Solved

I am new in Selenium. I am using Selenium WebDriver with Java. I'm using eclipse as IDE. I have written some code for Login page and it is run successfully. Now I want to go to desired page after s...
Drawn asked 22/8, 2013 at 10:4

0

Context I would like to run my scraper in a docker container without headless because it's taking more time than with headless (Actually i don't why, it doesn't make sense for me but that is not my...
Communistic asked 2/5, 2022 at 17:49

3

Solved

Context: My script launch to a website using selenium webdriver The user fills in some stuff on the website The user will click a button which will popup a confirm()dialog box asking the user "Do...
Capillary asked 3/8, 2018 at 23:50

3

Hi all I used Selenium some time ago to create a program to carry out automated actions on a website I enjoy using. I managed to use Selenium to do what I wanted before without much trouble the on...
Turnkey asked 25/2, 2013 at 9:9

4

As mentioned, is there a way to send global ESC key to close popup(CSS MODAL Window)? I tried following but did not work: driver.find_element_by_tag_name('body').send_keys(Keys.ESCAPE) I know I ...
Overcloud asked 14/1, 2017 at 12:20

4

Solved

After searching the web for hours i didnt yet find an answer to my problem. I am using Python 3.6 and i cant import selenium. I always get the message "No module named 'selenium'' I tried everythin...
Festus asked 15/1, 2018 at 17:5

5

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 selenium. I am using the chrome driver, so...

10

Solved

I have written few test cases in Selenium WebDriver using Java and execute them on grid (hub and multiple nodes). I have noticed that a few test cases fail due to NoSuchElementException. What is th...

3

Solved

I have a button with twitter, and after click new window opens, but before opening there is a timout in few seconds, so is there a way to wait for it? I mait in a bad way for now... Ui.click_el(l...
Employment asked 29/10, 2014 at 22:30

2

I use Selenium to react to the reception of data following a GET request from a website. The API called by the website is not public, so if I use the URL of the request to retrieve the data, I get ...
Florie asked 17/12, 2020 at 23:58

21

Solved

Is there a way how to test if an element is present? Any findElement method would end in an exception, but that is not what I want, because it can be that an element is not present and that is okay...
Yellows asked 3/11, 2011 at 7:36

8

I need to click on the below href element,which is present among similar href elements. <a id="oldcontent" href="listDetails.do?camp=1865"><u>Re-Call</u></a...
Killebrew asked 29/10, 2012 at 15:44

3

I try to show the page without CSS to make loading faster, and I have managed to disable images and javascript using the following code: option = webdriver.ChromeOptions() prefs = {'profile.default...

4

Solved

What's the purpose and upside of using By from selenium.webdriver.common.by instead of instead of the normal find_element_by_... methods? For example: driver.find_element_by_id('some_ID') vs: f...
Atlantic asked 11/4, 2017 at 20:18

10

Solved

I have just recently done an export of my selenium IDE code to selenium web driver. I have found that a lot of the commands that worked in IDE either fail to work or selenium web driver claims to n...
Morton asked 26/7, 2012 at 19:38

© 2022 - 2024 — McMap. All rights reserved.