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
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
  • 20,165
  • 11
  • 81
  • 96
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
  • 6,839
  • 11
  • 56
  • 109
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
  • 47,675
  • 117
  • 331
  • 600
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,666
  • 9
  • 44
  • 69
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

ChromeDriver malfunctions when I change it (Selenium, Python)

chromedriver (using WebDriver) has abuilt-in backdoor which informs Javascript webPages taht you are automatically scraping their HTML/JS I tried to disable that unique character by replacing it within ChromeDriver.exe. When I do that the scraper…
1
vote
1 answer

Web Scraping TimeOutException: Message:

I am trying to scrape an ecommerce website. I would like to scrape the product description of every product from the search results. I successfully scrape all the product links from the search results and get the product description of one product.…
1
vote
1 answer

Can't start more than 17 Selenium-webdrivers

I'm using Selenium with ChromeDriver in a python multithreading environment. Before multiprocessing starts, each browser-instance is setup. It is possible to start 17 browsers without problem, but if it is more than 17 instances it fails. Here are…
endo.anaconda
  • 2,449
  • 4
  • 29
  • 55
1
vote
0 answers

How to avoid Selenium webdriver from being detected as bot?

I have used selenium web driver to scrape a website in python. The issue is When I open the website in the Chrome browser there is no captcha. But when I open it in the selenium (using chrome web driver), The captcha appeared. I have used vim to…
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
1 answer

Webscraping with Selenium without browser

I want to use the Python module Selenium to do web-scraping through a jupyter notebook. The jupyter notebook runs in a docker-container without any web-browser. I want to be able to distribute the notebook so that the web-scraping can be duplicated…
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
vote
2 answers

Finding a link Element in Selenium which contains a specific word in its href with python

I am windows 7 user using python 3.6.7 and chromedriver 83.3 I love automating stuff with python and recently started web automation with selenium and chromedriver. So i am pretty new to this field. I wrote a script that can download any software…