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
1
vote
1 answer

Python/ Selenium is not sending tilde character (~) to the input field

I'm trying to use Python/ Selenium/ Webdriver to automatically fill an input field in my Chrome webpage. However, I am not able to use "send_keys" to fill out the tilde character. Here is what I've tried so far: import os import sys from selenium…
Charles
  • 61
  • 7
1
vote
3 answers

How to open a new tab Chrome and Firefox using Selenium3 WebDriver with Java?

I have a problem with Selenium 3 to open a new tab in Firefox and Chrome. SeleniumTestBase.getDriver().findElement(By.cssSelector("body")).sendKeys(Keys.CONTROL +"\t"); Doesn’t work in Chrome and Firefox. I could use the following code for Chrome…
1
vote
1 answer

how to check what is causing webdriver-manager to fail

I am trying to execute this simple protractor example https://coryrylan.com/blog/introduction-to-e2e-testing-with-the-angular-cli-and-protractor and I am getting webpack: Compiled successfully. events.js:182 throw er; // Unhandled 'error'…
Jim C
  • 3,957
  • 25
  • 85
  • 162
1
vote
1 answer

Cannot react to exception in teardown

I'm trying to add something to my teardown method so that in the event of an exception it takes a screenshot before closing the browser instance. So far I have: - def tearDown(self): if sys.exc_info()[0]: test_method_name =…
Northers
  • 85
  • 1
  • 13
1
vote
2 answers

Selenium 3.7.1 (Java) and ChromeDriver 2.33.5

I'm having an issue with launching Google Chrome using Selenium's latest version as of today 3.7.1 It works fine if it's within the IDE, but when I export to jar file and try running it, nothing happens. It used to work on Selenium 3.4.0, after…
Mohamed Said
  • 524
  • 7
  • 27
1
vote
2 answers

c# selenium chrome-webdrive clicking button using class and title

i just want to click button in my page. The html code lookls like :
Michael
  • 202
  • 1
  • 3
  • 13
1
vote
1 answer

jp@gc - Chrome Driver Config

I would like to automate my JMeter recorded scripts using jp@gc - Chrome Driver Config to execute in chrome tab. Is there any way to run my recorded script in Chrome Driver Config without using javascript in jp@gc - WebDriver Sampler ?. I am using…
1
vote
3 answers

Element is not visible with Splinter (Selenium)

After filling a form I am trying to click the following submit button:
1
vote
0 answers

How to switch to the Facebook messages frame using SeleniumWebdriver?

I'm trying to count my Facebook messages with friends, using Selenium Webdriver. The messenger window has a frame containing the messages, but it must be scrolled to the start of the message history for all of the messages to be counted. My issue…
1
vote
2 answers

WebDriverException when I use NoraUI and Chrome web driver on my windows laptop

I use NoraUI (Non-Regression Automation for User Interfaces) and Chrome web driver on my windows laptop and I have this big error stack trace. Yesterday, my code worked and I am sure I have not changed anything. The below error appears when…
1
vote
0 answers

selenium: unable to access geckodriver

I dowloaded the latest versions of both selenium and geckodriver. I did the following: bash cp Downloads/geckodriver /usr/local/bin/ PATH=$PATH:/usr/local/bin/geckodriver python from selenium import webdriver browser =…
which_command
  • 501
  • 1
  • 4
  • 15
1
vote
1 answer

Chrome opens with "Data;" adress with selenium

When I'm starting the test I see 'data:,' in the chrome address bar and then nothing happens (the program doesn't continue) instead of starting navigating to the url. I am using: chrome=55.0.2883.75 chromedriver=2.25 selenium=3.0.1…
moral17592
  • 95
  • 2
  • 6
1
vote
4 answers

How to get anchor tag href and anchor tag text inside a div using Selenium in Java

My HTML code consists of multiple divs. Inside each div is a list of anchor tags. I need to fetch the href values and text values of the anchor tags that are in the sub-container div. I'm using Selenium to get the HTML code of the webpage. HTML…
Karthik
  • 1,199
  • 2
  • 14
  • 23
1
vote
2 answers

why selenium try to connect to localhost at "X" port

I am new to selenium, Trying out following File f = new File("/usr/bin/google-chrome"); System.setProperty("webdriver.chrome.driver", f.getAbsolutePath()); WebDriver driver = new ChromeDriver(); //wait = new WebDriverWait(driver,…
Siva Kumar
  • 632
  • 3
  • 9
  • 19
1
vote
1 answer

Unable to find class within a class capybara

My html code is : I tried: 1. find(:xpath, "//span[@class='sr-only']").click 2.…
vidal
  • 345
  • 3
  • 18