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.

213 questions
3
votes
2 answers

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…
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…
3
votes
4 answers

Java Selenium WebDriver Can't find form field

I'm testing a registration page and I've tried name, xpath, id, class and nothing seems to work. here is my selenium code driver.findElement(By.id("pushMenu")).click(); Thread.sleep(2000); …
3
votes
2 answers

Avoid the execution stop while browsing in Selenium WebDriver

I need help for this thing that's driving me crazy. I want to check the browser url in and endless loop, waiting a little (Thread.Sleep) between a loop and another, to not overload the CPU. Then, if the browser url is what I need, I want to…
2
votes
1 answer

After test:report:chrome Report generation done, Terminal not closing the instance, it keeps running

I am using protector, selenium for running the UI automation. For chrome driver I am using webdriver-manager for testing the UI Automation. It run successfully, browser also close but it keeps running the terminal instance can anyone help me on…
2
votes
1 answer

Python Selenium Unable to click on div/span checkbox element

Here is the full element I'm trying to click:
2
votes
1 answer

Recurring ERR_CONNECTION_RESET in C# implementation of Selenium ChromeDriver

I've been battling the following error over the past few weeks trying to run UI tests with Selenium (Chrome 92): WebDriverException unknown error: net::ERR_CONNECTION_RESET. (Session info: chrome=92.0.4515.107) This occurs most often trying to…
Cory Gehr
  • 105
  • 1
  • 7
2
votes
2 answers

How can i get selenium to ignore chrome insecure forms warning

I'm trying to get my tests to ignore the chrome warning message of "site is using a connection that's not secure". What do i need to set to get webdriver to either ignore this, or set the chrome options. Currently its just set as…
user1555190
  • 2,803
  • 8
  • 47
  • 80
2
votes
1 answer

chrome webdriver set viewport below 500px?

In my selenium based tests, I am setting the window size to 400(w) 719(h) to create an internal viewport size of 400x640. Most of my tests are based on that size though some use other sizes. Dimension size = new Dimension(400,…
Austin France
  • 2,381
  • 4
  • 25
  • 37
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
  • 2
  • 7
2
votes
1 answer

How do I correctly pass chrome capabilities into the default webdriver on Katalon studio

I'm currently trying to get a test running on Katalon Studio, and the specific outcome is determined by certain messages showing up in the browser console. I've managed to extract the console logs and can parse them easily enough, but I'm currently…
2
votes
2 answers

Values returned by webdrivers

After performing a search using POST /session/{session id}/element, I get this from the Chrome webdriver: { sessionId: '3241e7da289f4feb19c1f55dfc87024b', status: 0, value: { ELEMENT: '0.12239552668870868-1' } } Is this what the specs…
Merc
  • 16,277
  • 18
  • 79
  • 122
2
votes
1 answer

Unable to click button inside iframe with selenium webdriver (javascript)

I have a page that loads an iframe, but I get NoSuchElementError error messages. My code: driver.wait(until.ableToSwitchToFrame(0)).then((d) => { //*** SLEEP HERE const button = By.css(".button"); …
marchello
  • 2,016
  • 3
  • 29
  • 39
2
votes
1 answer

Result of xpath is object text error, how do i get around this in Ruby on a site built around hiding everything?

My company uses ways to hide most data on their website and i'm tying to create a driver that will scan closed jobs to populate an array to create new jobs thus requiring no user input / database access for users. I did research and it seems this…
Daniel
  • 95
  • 1
  • 11
1 2
3
14 15