Questions tagged [chromedriver]

ChromeDriver is a standalone server which implements WebDriver's wire protocol for Chromium. WebDriver is an open source tool for automated testing of webapps across many browsers. It provides capabilities for navigating to web pages, user input, JavaScript execution, and more. ChromeDriver is available for Chrome on Android and Chrome on Desktop (Mac, Linux, Windows and ChromeOS).

Filter by
Sorted by
Tagged with
4
votes
2answers
8k views

Selenium + ChromeDriver + Headless Chrome - failed to wait for extension background page to load

I am using Selenium 3.10.0 + ChromeDriver 2.37.543619 + Google Chrome 65.0.3325.162 I have a browser extension that I need when testing: Browser extension I am running this code: ChromeDriver ...
0
votes
1answer
51 views

Need to work on Chrome and IE concurrently in Selenium; Any possible workaround?

I have two applications - App A works in Chrome and App B does work only in IE. I have to fill a form in app A and validate the data that i have entered in App B. This entire process is part of the ...
0
votes
1answer
3k views

Unable to create new service - Selenium + Jenkins

I have an error in my Jenkins + Selenium integration, the Selenium Grid Version is 3.7.1 (Installed by default for the Jenkins Selenium Plugin). I'm using the last chromedriver version. When I run my ...
5
votes
2answers
4k views

Chrome argument “--disable-infobars” does not work with Chrome 65

When I start Chrome by Chromedriver with Selenium, Infobar is not hiddened. Because chrome has updated version 65.x.x.x. Here is my code: [VB.NET] Dim driverService = ChromeDriverService....
0
votes
1answer
1k views

How can I use Chrome WebDriver in another language [duplicate]

I want to be able to test with different languages. How can I do that with chromedriver ?
5
votes
2answers
2k views

Force a browser's visibility setting to true

I'm trying to set up some specs against a real (not headless) browser but some of the javascript on the target page only runs if the browser is visible (it doesn't need to be the active app). I've ...
1
vote
1answer
7k views

How to Launch multiple Chrome Browsers in Parallel using TestNG

I need to automate the two Web applications in parallel and that needs to validate in Chrome browsers. So I have two testng XML files(testng1.xml and testng2.xml), my scenario is to launch one ...
1
vote
0answers
876 views

Fixing mojom error after Chrome update

I wish there was some way to intercept new Chrome(driver) errors in SeleniumWebdriver before they hit my tests. The latest I have found is this one. Does anyone have a fix? DevTools listening on ws:/...
2
votes
1answer
8k views

How to set socks5 proxy for Selenium ChromeDriver C# or Java? [closed]

I am trying to setup a socks5 proxy in ChromeDriver. I have used the below code for setting that up in C#: var options = new ChromeOptions(); var proxy = new Proxy() { Kind=ProxyKind.Manual,...
4
votes
1answer
506 views

Selenium downloads tmp file instead of CSV file

When I download a CSV file from a blob URL, the downloaded file always has a ".tmp" extension and wrong file name. When downloading the same file manually, the file extension and file name both are ...
0
votes
2answers
525 views

Open Browsers using Selenium WebDriver

I need to run my test case through chrome,Firefox and IE browsers in same time so how can i open two or more browsers using one single instance of Webdiver? Thanks.
2
votes
1answer
1k views

How can run selenium script in chrome browser using intelliJ IDEA 2017.2.4

I have created simple TestNG file with simple code to open chrome browser in IntelliJ IDEA but its throwing below error, please help me. My code: public class Sample{ @Test (priority = 0) ...
1
vote
1answer
165 views

URL address is Strikethrough when running Selenium Webdriver

I am running automation test on local url, after some time (happening randomly) url is strike-through for unknown reason and due to that , the site keeps on loading and test fails. using these ...
3
votes
2answers
543 views

How do I configure my env.rb file to be able to switch browsers?

Currently, here is part of my configuration with testing using Chrome: prefs = { 'download' => { 'default_directory' => "#{$myRoot}/PDF", 'prompt_for_download' => ...
3
votes
0answers
2k views

Headless Chrome with Docker Compose

I'm currently trying to setup headless chrome testing with Capybara in my docker-compose file. However, I keep getting that chromedriver has failed to start because it had crashed. Selenium::...
0
votes
2answers
23k views

UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

I am trying to launch Chrome browser with cucumber script and getting: I'm Using Cucumber Selenium Script Selenium - 2.53.1 [31mFailure in before hook:[0m[31mLoginWorkFlow_StepDefinition....
3
votes
3answers
5k views

How does chromedriver.exe work on a core and fundamental level

I know that Selenium Webdriver is evolved from Selenium RC. Server in the Selenium RC was used to overcome the "same origin policy" using the proxy injection. Is it that the chromedriver.exe performs ...
0
votes
2answers
2k views

Issue executing Automation with Selenium/Nosetest set ups

having issue just trying to automate for the first time. I have access to repositories by GIT, where its python folders all use Python 2.7 syntax. I also have Google chrome driver as well(Using ...
0
votes
2answers
1k views

Unable to run remote tests using Selenium Grid Chrome in MAC OS

I am having problems running my selenium grid in mac. I have downgraded my server standalone from 3.4 to 3.0.1. I get a System.InvalidOperationException using 3.4 so I downgraded till I get to 3.0.1 ...
5
votes
1answer
11k views

Try Assert Exceptions not failing test in python unittest or better way to loop through failures

Okay I am running Chromedriver test that gathers console logs and then tests an assertion against pythons unittest. class ConsoleLogsTest(unittest.TestCase): @classmethod def setUpClass(cls)...
1
vote
1answer
2k views

Selenium Chrome basic authentication secure method

I'm still new to automation and what i want to know if this method is secure in bypassing basic authentication, considering we are using https. By browsing i couldn't find any better practices of this ...
3
votes
2answers
3k views

Selenium GeckoDriver vs ChromeDriver

I will try to be as clear as possible. Lets take an identical test case in both browsers. Open a page and find an element by the following method: wait.until(ExpectedConditions.elementToBeClickable(...
2
votes
3answers
457 views

Install chromedriver via package instead of executable

Currently I am working on a selenium webdriver project using python. My tests run only in chrome (when the executable file is present in the project). Is there an updated alternative to install the ...
6
votes
3answers
8k views

Chromedriver not deleting scoped* dir in temp folder after test is complete

With latest chromedriver.exe running into out of disk space issues as chromedriver is not deleting the folder named scoped_* at the end of the execution. It occupying almost 40 GB of space for 1000 ...
0
votes
1answer
555 views

Selenium python test hung up on url in cronjob

My automated tests get hung up on the .get(url) command randomly. I run several test suites everyday against 60+ different urls (each suite) and a handful will fail to get the url after initializing ...
1
vote
1answer
591 views

Exception generated after exporting code as runnable jar

D:\RhythmFileDownload>java -jar fileDownload.jar Starting ChromeDriver 2.28.455520 (cc17746adff54984afff480136733114c6b port 36946 Only local connections are allowed. Apr 03, 2017 6:14:23 PM ...
2
votes
1answer
1k views

How to Get Rid of Save Password Popup in Chrome (Ruby)

How would you disable the pop-up: "Do you want Google Chrome to save your password for this site?" I know it is due to upgrading my ChromeDriver to version 2.28. I have seen solutions recently but ...
19
votes
7answers
20k views

How to disable Chrome save your password? (Selenium Java)

What is the method to disable this pop-up: Do you want Google Chrome to save your password for this site? How to do this with Selenium Webdriver (Java)?
23
votes
10answers
64k views

Chrome driver 2.28: “Chrome is being controlled by automated test software” notification. Can it be removed?

I have just updated my project with the latest chrome driver (2.28). When I run the browser through the driver, a yellow notification pops under the URL bar, saying "Chrome is being controlled by ...
2
votes
1answer
16k views

How to handle a window which automatically closes and back to parent window

ChromeDriver Version 2.27 The case, my aplication have duble authentication (depending where the user want to access). First I execute the login and do some clicks, after that I click on the BTN that ...
1
vote
1answer
313 views

How do I stop my rspec capybara tests failing intermittently

The intermittent failures are hard to pin down and they can be in many different tests. Often you can see the element you are targeting in the browser but the program just doesn't seem to be in sync ...
2
votes
2answers
2k views

Selenium send_keys on chromium confused by forward slashes

I am using selenium webdriver under python on a Debian jessie machine. The browser I am currently testing is Chrome (version 55) with chromedriver (version 2.27). If I send the string 1/2/3 to a ...
3
votes
2answers
2k views

Selenium FindElements() hangs sometimes

I have a problem when trying to find many elements in a page. Basically i have 20 identical pages, with slightly different data. Think 20 excel sheets. Page 1 50rows, page 2 100 rows, etc.. each row ...
2
votes
1answer
1k views

Obtaining a Dropdown list items and their dynamic ID using Python 3.x and Selenium

i have a simple problem i am trying to automate the testing of a website that has a lot of dropdown lists that are populated dynamically. I wish to be able to obtain all of the ID's (They populate ...
1
vote
2answers
3k views

WebGL doesn't work with Chromedriver

I'm having an issue I've hit a wall on, I'm hoping someone else has encountered. I am running selenium/splinter tests on a VM with Chromedriver installed. When I open the webpage on the VM with Chrome ...
4
votes
1answer
4k views

Do I need to run selenium server when using chromedriver?

I'm new to Selenium and Nightwatch and installed selenium-webdriver first, then chromedriver and finally I installed Nightwatch (because the syntax looks nice to me). Now when I want to run a single ...
1
vote
0answers
1k views

How to access an Input file in the shadow DOM using selenium chrome driver?

Has anyone figured out how to access an Input file in the shadow DOM using selenium chrome driver? at a certain point at the angular.js page a button is clicked and in the function triggered by the ...
1
vote
3answers
2k views

Not able to install appium with npm. Failed at the appium-chromedriver@2.9.2 install script 'node install-npm.js'

I installed Appium 1.6.0 on Mac OS 10.12 via 'sudo npm install -g appium' but it gave me an error when I launched the inspector. So I decided to reinstall it without sudo, since I read it might be the ...
1
vote
1answer
5k views

How to resolve Could not start a new session? UnreachableBrowserException

I am trying to launch mobile browser and getting: org.openqa.selenium.remote.UnreachableBrowserException Could not start a new session. Possible causes are invalid address of the remote server ...
1
vote
0answers
353 views

Appium + Java + Android + Mobile browser [Chrome driver] : How to switch from android app to mobile browser?

I am automating android app. My env is - Mac, Appium, Java + TestNG Scenario: Click on button Its will redirect user on mobile browser Login in browser How to automate above scenario? The core ...
0
votes
3answers
602 views

Unable to click on Text link - Observed “InvalidSelectorException” & “Compound class names not permitted”

Please find image, that I want to click on. Functionality of image is dropdown button. By clicking on v,+ and on name will get drop down. I used this code: driver.FindElement(By.ClassName("...
1
vote
0answers
434 views

File drag and drop works in Firefox but not in Internet Explorer

I am trying drag and drop from outside frame to inside frame. Draggable element is located outside iframe, but container which is located in iframe. I have already posted my problem here. https://...
3
votes
2answers
3k views

Error trying to add chrome extension in nightwatchjs

I am trying to add an extension to my chromedriver for use in my test. According to the nightwatchjs website here, extensions | array of strings | A list of Chrome extensions to install on ...
5
votes
2answers
2k views

Using SuperTest/Protractor on unsecure HTTPS

I am trying to run automated API tests on localhost with an invalid cert. Is there a chromeOption equivalent to "Proceed Anyway" that I can pass to the tests so they can get a response from the url? ...
2
votes
2answers
750 views

Chromedriver 2.21 clicks on a button but the application is not responding as it should? Could it be application compatibility problem?

I am running the application under test on Chrome-Version 49.0.2623.112 m (64-bit) manually. When I click on a particular button "Ophalen", a web service request is made and the responses are parsed ...
6
votes
5answers
31k views

How to set browser locale with chromedriver (Python)

I am trying to set my browser locale by doing the following options = webdriver.ChromeOptions() options.add_argument('--lang=es') driver = webdriver.Chrome(executable_path=driver_location, ...
5
votes
1answer
422 views

How to control CEF3 portions of .NET project using Webdriver2?

We have a very large .NET project. This has been E2E/regression tested using QTP for 3 years. Eventually, our AUT is moving to the WEB. This process is expected to take a couple of years, it will be ...
35
votes
10answers
295k views

How do I close the browser window at the end of a Selenium test?

I have googled for the answer, but the .stop() so frequently mentioned doesn't work for me. The Chrome window the test was running in remains open. def test_getResults(self): sel = selenium('...

1 2
3