selenium-webdriver Questions

4

Trying to open "Google" or any other page (website) from Chrome via selenium chrome driver in python. The code is : from selenium import webdriver from selenium.webdriver.common.keys impo...

7

Solved

I Want to execute Background only once in each cucumber feature files for multiple scenarios. how can i do that in step files? Feature: User can verify........... Background: Given Enter test d...
Zero asked 12/1, 2016 at 19:41

5

I want to use Selenium Web Driver in VS 2010 C# to open a Chrome browser, navigate to some web page and then close the driver but keep the browser open. I realize that I will have to manually close...
Earful asked 25/1, 2013 at 19:7

3

Solved

I'm using the Python package Undetected Chromedriver as I need to be able to log into a Google account with the webdriver, and I want to pass the options {"credentials_enable_service": Fa...

3

Solved

Possible to Change Jenkins URL? : http://localhost:8080 Currently I have jenkins setup on a virtual machine. Is it possible to setup Jenkins on a URL which is more is accessible for other users?...
Accordance asked 6/2, 2017 at 11:54

15

Solved

Does anybody know if Selenium (WebDriver preferably) is able to communicate with and act through a browser that is already running before launching a Selenium Client? I mean if Selenium is able t...
Peroneus asked 1/12, 2011 at 16:29

4

Solved

I am using python 3 on windows 7, selenium, chromedriver version 84 (latest) to automate my chrome browser. I am using this script: from selenium import webdriver #import chromedriver_binary ...

2

Solved

I have the following code in selenium but continue to get a syntax error. I'm trying to select an element based on multiple conditions. choices = driver.find_elements_by_xpath("//div[contains(.,'5...
Garniture asked 23/3, 2018 at 23:15

4

I am using Python / Selenium and am trying to select an input box that does not have an ID: HTML <div class="form-group"> <input type="email" class="form-control...

9

Solved

How to disable this "first run" page once and for all for FF? When FF driver is created, it opens tab with - https://www.mozilla.org/en-US/firefox/42.0/firstrun/learnmore/ and additional tab with ...
Vermifuge asked 26/11, 2015 at 11:8

2

Solved

I am trying to host a webscraping function on aws lambda and am running into webdriver errors for selenium. Could someone show me how you go about adding the chromedriver.exe file and how do you ge...
Ramos asked 5/4, 2022 at 5:19

9

Hi I am facing an error which is mentioned below. I am unable to click on the button of Buyer as mentioned in the screenshot. I have tried wait, sleep functions too. But unable to move beyond this....
Appreciative asked 1/3, 2018 at 8:9

10

Solved

I am a new Protractor. I am trying to run a sample unit test on my first Angular2 application. my conf.js file has : exports.config = { seleniumAddress: 'http://localhost:3000/login', specs: ...

2

Solved

I cannot switch to the sucessfully identified iFrame(s). The script identifies the iFrame (checked in debugger), but the switch to the iFrame fails and runs into the exception trap. Few times ago i...
Judyjudye asked 2/12, 2021 at 10:39

7

Solved

Please find the below code with the chrome capabilities. In fact the browser is not downloading the file to the specified path. private static DesiredCapabilities getChromeCapabilities() throws E...
Pantagruel asked 29/12, 2015 at 16:46

2

Solved

I'm writing Java based selenium-webdriver tests. The app that I'm testing sets certain values in storageSession e.g. sessionStorage.setItem("demo", "test"), how can I check and assert the value of ...
Anklet asked 19/12, 2014 at 11:43

1

I've installed the latest version of selenium via Docker: docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest and then ran this in my python console: from selenium...

3

Docker environment: Docker Container, ubuntu:18.10, geckodriver-v0.23.0-linux64, selenium-3.14.1 In Chrome, I did not have enough resources allocated to my Docker Container. Adding the "--disable-...
Catacaustic asked 29/11, 2018 at 14:53

1

I am using Selenium. My application shows an error page. It throws the following error: raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: u...
Churchless asked 20/8, 2022 at 16:50

21

Solved

I've looked around checked both documentations and have found no answer. I've been trying to use InstaPy a instagram api for python. After failing with multiple errors and assuming InstaPy is just...

6

I want to download pdf in chrome using selenium. System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + System.getProperty("file.separator") + "BrowserDrivers" + Syste...
Ology asked 28/7, 2015 at 9:53

3

Solved

Here is the html code: < input class="form-control input-lg input auto-complete" id="ymMsgInput" type="text" placeholder="Type your message ..." autocomplete="off" > Code: i = s.find_elem...
Ailis asked 10/3, 2018 at 5:44

4

Solved

I am using TestNG framework for selenium webdriver scripts. I run them periodically using Jenkins in slave machines. I do not use Selenium Grid. What is the advantage of using selenium grid over je...
Luzluzader asked 19/12, 2014 at 20:44

9

Solved

I'v got problem with function move_to_element on Firefox Webdriver (Chrome, IE works well) driver = webdriver.Firefox() driver.get("https://stackoverflow.com") time.sleep(5) source_element = drive...
Bullpup asked 27/6, 2017 at 9:42

18

Solved

I need to select an element from a drop-down menu. For example: <select id="fruits01" class="select" name="fruits"> <option value="0">Choose your fruits:</option> <option ...
Superfamily asked 23/10, 2011 at 16:40

© 2022 - 2024 — McMap. All rights reserved.