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
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
  • 13,909
  • 14
  • 64
  • 109
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
  • 1,707
  • 3
  • 23
  • 31
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…
2
votes
0 answers

Selenium button submit /click is not redirecting to success page from chrome web driver

I am facing issues with Selenium when navigating from one page to another. Below is the code. If I click on following element a jQuery image will open until the next page gets loaded. But it's not navigating to next page itself. The image keeps on…
2
votes
3 answers

Pulling twitter followers data using selenium chrome webdriver in python? Not able to load all the followers

I am trying to pull twitter followers data using Selenium chrome webdriver and BeautifulSoup for a account that has 80K followers. I am facing two issues in my script : 1) While scrolling till the bottom of the page to get the entire page source…
2
votes
0 answers

Run parallel Protractor tests in multiple Chrome tabs

I'm using the following .conf: capabilities: { browserName : 'chrome', shardTestFiles: true, 'time-zone': 'AEST', maxInstances: 5, singleWindow: true } I'm using singleWindow as described in the capabilities page for Selenium…
Aram Kocharyan
  • 19,179
  • 11
  • 69
  • 93
2
votes
1 answer

Cant find root elements with RemoteWebDriver.FindElementsByXPath("/");

When I try to use var element = webdriver.FindElementByXPath("/"); or var elements = webdriver.FindElementsByXPath("/"); I expect to get the root element(s) of my document. What I get instead is an InvalidSelectorException with this…
Anders Lindén
  • 5,893
  • 4
  • 42
  • 92
2
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); …
2
votes
3 answers

How to check NON-html responses with Geb?

Some of requests to my Web Application return data not in HTML format (JSON). How to handle this correctly? I wrote the following page definition: import com.fasterxml.jackson.databind.ObjectMapper import geb.Page class JsonResponse extends Page…
Dims
  • 37,353
  • 77
  • 251
  • 478
2
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
0 answers

How to double click a div in python selenium?

In a behave step implementation I wish to double click a div using webdriver. However I cannot get this to occur. My code: @when('i double click on the element "{text}"') def step_impl(context, text): action =…
user1561108
  • 2,497
  • 5
  • 38
  • 61
2
votes
2 answers

Chome opens for a split second then closes using selenium webdriver

I’m setting up chromedriver (win32) on visual studio using C#, I have firefox and it works great. I have downloaded the chromedriver.exe and set the PATH in windows to its location (C:...misc...\Selenium Webdriver\chromedriver) as the book “selenium…
1
vote
1 answer

Going to a different web page within the same window without closing the VB.Net Selenium Chrome window

Dear members of the forum. With the code below, I can open the chrome web browser using selenium and go to the internet address I want. I have only one problem. When I click on button1, the chrome window opens and goes to http://google.com/. When I…
1
vote
0 answers

Selenium error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist)

options = Options() options.add_argument('use-fake-device-for-media-stream') options.BinaryLocation = "/usr/bin/chromium-browser" driver = webdriver.Chrome(executable_path="/usr/bin/chromedriver",options=options) On executing the above with sudo…
1 2
3
11 12