Questions tagged [chrome-web-driver]

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 a standalone server which implements WebDriver's wire protocol for Chromium. It is being developed by members of the Chromium and WebDriver teams.

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 a standalone server which implements WebDriver's wire protocol for Chromium. It is being developed by members of the Chromium and WebDriver teams.

175 questions
5
votes
1 answer

When does Protractor throw 'unknown error: cannot determine loading status'..... exception

Can anyone tell me when does Protractor throw 'unknown error: cannot determine loading status from unknown error: unhandled inspector error: {"code":-32000,"message":"Internal error: main world execution context not found."}' exception. I…
Murali Krishna
  • 161
  • 1
  • 9
4
votes
2 answers

How to fix [1573451709.039][WARNING]: Timed out connecting to Chrome, retrying... while using chrome version 78 and chrome driver version 78.0.3904.70

My Chrome browser is updated to version 78 and when I tried to execute any code of automation, it shows the error Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code. [1573451703.668][WARNING]:…
4
votes
2 answers

selenium.common.exceptions.WebDriverException: Message: chrome not reachable error while using find_element_by_id Selenium with ChromeDriver

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_element_by_id("ymMsgInput"); Python - Selenium Chrome webdriver…
4
votes
2 answers

web driver update error response status code is not 200

iam trying to install webdriver-manager by issuing the command webdriver-manager update and iam getting the following output webdriver-manager: using global installed version 12.0.6 (node:6312) UnhandledPromiseRejectionWarning: Unhandled promise…
oula alshiekh
  • 766
  • 4
  • 11
  • 29
4
votes
1 answer

Reading Console using Selenium Webdriver Chrome on Node.js

I want to use Selenium Webdriver Chrome in Node.js to go to a web page, fill out an input, click a button and then retrieve the contents of the browser's console. I am able to get the web page, fill out the input, and click the button, but so far I…
4
votes
0 answers

Chrome 61, chrome driver 2.32,Uncaught WebDriverError: unknown error: Chrome failed to start: crashed (Driver info: chromedriver=2.32.498513

With latest Chrome 61 and Chrome driver 2.32, unable to start chrome in headless mode in node js environment with selenium-webdriver 3.50. Getting the error below: Uncaught WebDriverError: unknown error: Chrome failed to start: crashed …
4
votes
2 answers

Wait for a particular URL in selenium

I have the requirement of waiting for a particular URL in website automation using Selenium in Chrome browser. The user will be doing online payment on our website. Fro our website user is redirected to the payment gateway. When the user completes…
IT researcher
  • 3,132
  • 15
  • 70
  • 133
3
votes
0 answers

How to open google-chrome-devtools using Selenium with Toggle Device Toolbar set to a specific device (Example: iPhone X)?

My current code is this - from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys options = webdriver.ChromeOptions() mobile_emulation = { "deviceName": "iPhone…
3
votes
1 answer

Selenium Web Driver: Extracted Chrome Browser logs are incomplete

I'm writing browser tests for a Vaadin application with help of Selenium. The Chrome browser log console in development utilities shows logs of different log levels (TRACE, SEVERE, WARNING). Following code sets up my test driver: @RunOnHub public…
PAX
  • 888
  • 11
  • 29
3
votes
1 answer

Clicking away from popup window

In the app there is a plot which when clicked open a floating popup window. There are multiple ways of closing the pop up e.g. clicking close button on pop up window or clicking outside that window. I just want to know how I can simulate clicking…
3
votes
2 answers

Selenium(chrome) crashes on navigate

I am trying to open url with Selenium and Google chrome, however i always end up with chromedriver.has stopped working. ChromeDriver driver = new ChromeDriver(@"Path\To\The\Driver"); driver.Navigate().GoToUrl("https://www.google.com/"); i tried to…
2
votes
1 answer

How to install a specific version of Google Chrome on GitLab CI?

I use CI/CD Gitlab with this script but my Chrome webdriver version is setted in my Maven project (pom.xml): before_script: ########################## # Install gnupg2 # ########################## - apt-get install -y…
Stéphane GRILLON
  • 8,567
  • 5
  • 60
  • 106
2
votes
1 answer

Selenium + Headless Chrome, YouTube doesn't connect to account after credentials submitted

For education purposes, I decided to build some automation script on YouTube (that cannot be achieved through the API because of some channel switch involved). I'm using Selenium and Headless Chrome. My script is working fine when I set everything…
Vanity
  • 33
  • 1
  • 7
2
votes
4 answers

Instagram login script with selenium, not being able to execute .send_keys('test')

Ok so, as the title says, pretty much i just cant make my python program work, it is a bot to log in to instagram and it wont actually do the logging in part, i've tried both using action chains, and without them, this is my code (python 3.6.1) :…
Alex
  • 21
  • 1
  • 3
2
votes
1 answer

Chrome web driver: Curl error thrown for http DELETE to /session/XXX

I using Chromedriver together with Facebook PHP webdriver. I often encounter with a session problems. Curl error thrown for http DELETE to /session/XXXX How resolve this problem? Why does it happen? Full error code: Operation timed out after 30001…
1
2
3
11 12