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
0
votes
3 answers

Selenium click not working in Chrome

I am trying to click on the anchor tag on instagram's page which says log in. Here is my code. browser = webdriver.Chrome() browser.get('https://instagram.com') login_elem = browser.findElement(By.xpath('//p/a[text() = "Log…
0
votes
2 answers

How to iterate and download multiple pdfs using selenium and Python

I am a bit new to using selenium and Python.Below is the code that I am trying to run to download multiple files. from selenium import webdriver driver =…
0
votes
1 answer

Python could not send Backspace keys (EDIT)

As title said, I am working on downloading file in Thai government website. I tried to go back to the old page, delete the old code (hscode) which I had already downloaded and refilled with another one. However, I stuck with sending a…
Kob
  • 147
  • 1
  • 11
0
votes
0 answers

error by trying to stop on captcha from a site using selenium

I'm webscraping a lot of webpages. Sometimes an alert box shows. I get past these alert boxes using browser.switch_to.alert.accept() But after I pass a lot of pages, a captcha box shows up. As I'm passing the alert box with…
Luiza Rodrigues
  • 185
  • 1
  • 2
  • 15
0
votes
1 answer

Selenium Chrome WebDriver -new-window argument forces lowercase URLs... Is it possible to make this case sensitive?

I'm working with a website where apparently the capitalization of the URLS is important. I need to use ChromeWebDriver for other reasons. The basic problem is that when I'm putting in my URLs using the "-new-window" argument the URL that opens has…
0
votes
1 answer

Find element in desplegable list after doing browser back

I'm scraping a web with the following structure Menu1 Submenu1 Event1 Event2 ... Submenu2 Event n ... ... Menu2 .... Where to have access to Submenu you have to click on Menu, so as to expand the node and make submenu…
puppet
  • 707
  • 3
  • 16
  • 33
0
votes
0 answers

Unable to run Protractor tests with chrome browser

Getting the following error message. Missing anything? [19:53:22] I/direct - Using ChromeDriver directly... [19:53:22] I/launcher - Running 1 instances of WebDriver [19:53:24 INFO(qe-reporter.js:71)] Executed 0 of 0 specs, SUCCESS: 0, FAILED: 0,…
0
votes
1 answer

chromedriver fails in Travis

We're using chromedriver together with Facebook PHP webdriver in our test suite. It works fine locally, but one test always fails on Travis with the message Curl error thrown for http DELETE to /session/44225d310546d29b1e0adc20ed29a2a0 Operation…
Olle Härstedt
  • 3,799
  • 1
  • 24
  • 57
0
votes
0 answers

Cannot get ActionChains to work inside a function

Please bear with me, I'm new to both Python and Webdriver, but I'm having trouble getting ActionChains to work when inside a function. Running this is fine: - wait.until(ec.presence_of_element_located((By.XPATH,…
Northers
  • 85
  • 1
  • 13
0
votes
1 answer

pyCharm Selenium Python eol while scanning string

I have installed selenium and I can run it on Python. When I try and run int on pyCharm I keep getting the errors below. I believe it may have to do with how and where I installed pyCharm, but I can't seem to get it to work. I am looking for help on…
0
votes
1 answer

How do i use press keys in Robot Framework to send date in calender popup in chrome

I have to automate selecting a date from date picker. I am able to click the field and type in a date. In Firefox I was able to use press key to type date whereas the same test when run in chrome gives the following error: WebDriverException:…
Magicofcolors
  • 11
  • 1
  • 2
  • 3
0
votes
1 answer

c# selenium chrome-webdrive write correct path

Hi i want just create a path for clicking button on my stie using selenium chromedriver. The html block code looks like :
Adam Zbudniewek
  • 107
  • 2
  • 12
0
votes
3 answers

how to get element inside custom tag in chrome web driver

This is my sample html code.
Check
KSK
  • 636
  • 1
  • 9
  • 29
0
votes
1 answer

Toggling a Bootstrap collapsible is failing in Rails/Capybara feature tests

I'm new to Capybara and feature testing. I've been trying test a minor feature on a Rails app that toggles comments on a post into and out of view. The first test for toggling the comments into view passes, but the second test for toggling them out…
user5482251
0
votes
1 answer

JMeter WebDriver Sampler: working with Firefox but browser does not open when using Chrome

I have been able to successfully run a (javascript) test script using the WebDriver Sampler in JMeter with the Firefox Driver Config. I now want to use the JMeter Chrome Driver Config to run the same test in Chrome. I know that the Chrome Driver…