Skip to main content

Questions tagged [selenium-webdriver]

Selenium WebDriver provides the WebDriver API for controlling browsers in different programming languages ("language bindings"). When using this tag, also add a tag for the programming language you are using.

selenium-webdriver
64,620 questions with no upvoted or accepted answers
14 votes
5 answers
12k views

Selenium-ChromeDriver SSL error/handshake failed

My script is throwing a ton of SSL errors as below: [19852:2032:0912/202419:ERROR:ssl_client_socket_impl.cc(1141)] handshake failed; returned -1, SSL error code 1, net_error -100 [19852:2032:0912/...
eagerbeaver's user avatar
13 votes
3 answers
1k views

How to save mobile screenshot using Headless Google Chrome with Selenium

from selenium import webdriver options = webdriver.ChromeOptions() options.add_argument('--headless') options.add_argument('--disable-gpu') mobile_emulation = { "deviceMetrics&...
goku's user avatar
  • 203
13 votes
0 answers
6k views

Google ReCaptcha 3 always returning score of 0.9

I am trying to guard against bot registration on my website by using Google ReCaptcha 3, I want to set a score threshold limit based on data collected over a period of time. However, the score is ...
Brad Waterhouse's user avatar
12 votes
1 answer
3k views

Save current state of Selenium

Is it possible to save current state of Selenium browser? To understand I will provide an example: Let's say that there is a web page. I clicked on the button where I found many other buttons. I want ...
Milano's user avatar
  • 18.6k
11 votes
0 answers
3k views

Converting desired capabilities to options in selenium python

I want to convert a set of desired capabilities to options in selenium Python. In the below code i want to find the equivalent of dc["goog:loggingPrefs"] = {"browser":"INFO&...
Tech Visionary's user avatar
11 votes
0 answers
7k views

Bluetooth: bluetooth_adapter_winrt.cc Getting Default Adapter failed

I'm trying to learn how to use selenium and python , I want to crawl the news title & news date of this website but I have a problem that I don't know how to solve. This is my code : from ...
Vincent's user avatar
  • 111
11 votes
1 answer
582 views

How Can I Capture Image From Silverlight Application Within Web Browser

I am using Robot Framework to automate a website. This website uses a Silverlight application to display video. My Objective: To create a custom keyword in my Robot Framework that takes a web element,...
p_cos's user avatar
  • 185
11 votes
1 answer
2k views

Ghostdriver 1.2.1 + PhantomJS 2.0 + latest Selenium Can't find variable error in Java

[ERROR - 2016-01-16T02:22:00.898Z] Session [e6651a90-bbf7-11e5-9061-cff578894101] - page.onError - msg: ReferenceError: Can't find variable: data :262 in error [ERROR - 2016-01-16T02:22:00....
user3180's user avatar
  • 1,457
11 votes
1 answer
3k views

Using PhantomJS with Selenium Webdriver and Python

I'm currently using Selenium Webdriver to do some validation on pages. The Webdriver is being driven by PhantomJS. I know that in PhantomJS, you can listen to the network using the example like the ...
Matt Stern's user avatar
10 votes
1 answer
5k views

Gradle 8: Unable to make progress running work. There are items queued for execution but none of them can be started

In my Selenium-JAVA-Gradle based automated test project running in CI: Teamcity server, recently we updated the JAVA and Gradle version. The tests run good without any error locally but the build in ...
mahadi hasan's user avatar
10 votes
0 answers
1k views

How to duplicate MSTest attachment functionality with XUnit?

This Collect screenshots and video azure-devops page describes how to attach files to test reports generated while running tests with MSTest. The page links to a github repo where a class is provided ...
Matt W's user avatar
  • 12.2k
10 votes
2 answers
620 views

nosuchwindowexception Selenium with PhantomJS Java

I am using headless PhantomJS browser to automate the application using phantomjs driver with selenium. (selenium java version 3.5.2 and phantomjs.exe) I have a scenario where i will fill the form and ...
Ramesh Roddam's user avatar
10 votes
1 answer
2k views

using Selenium.PhantomJS.WebDriver with .Net Core

The NuGet package Selenium.PhantomJS.WebDriver, on building the project, it copies PhantomJS.exe to the bin folder. With classic .Net it works very well. The problem is that with .NetCore this doesn'...
znn's user avatar
  • 481

15 30 50 per page
1
2 3 4 5
4308