Questions tagged [remotewebdriver]

RemoteWebDriver is an implementation class of the WebDriver interface that a test script developer can use to execute their test scripts via the RemoteWebDriver server on a remote machine.

RemoteWebDriver : There are two parts to RemoteWebDriver:

  1. RemoteWebDriver server
  2. WebDriver client

  • The RemoteWebDriver server is a component that listens on a port for various requests from a RemoteWebDriver client. Once it receives the requests, it forwards them to Firefox Driver, IE Driver, or Chrome Driver depends on the browser.
  • When you execute your tests locally, the WebDriver client libraries talk to your Firefox Driver, IE Driver, or Chrome Driver directly. Now, when you try to execute your tests remotely, the WebDriver client libraries talk to the RemoteWebDriver server and the server talks to either the Firefox Driver, IE Driver, or Chrome Driver, whichever the WebDriver client asks for.
333 questions
3
votes
2 answers

Python - Remote Webdriver with Extension installed in it

I want to test one extension on different browser versions using BrowserStack. This is a function that returns driver with specified capabilities. I have a .crx file for Chrome and an .xpi file for Firefox on my local machine. I want to use Remote…
3
votes
1 answer

Is it posible to programmatically check if the selenium Remote Webdriver Server is running or not

Hi is it possible to check if the Remote webdriver server is running or not using C#. Pinging the server did not help , Can you tell what type of call should be done and what will be the feedback that we can expect from the server
Anand S
  • 760
  • 5
  • 13
  • 28
3
votes
2 answers

Selenium 2 Firefox Profile Change Location

For many weeks now, I have been looking around and I have not seen anything regards to changing the location the Firefox Profile saves to. I am using a specific Firefox profile, however, when the tests run the session is created in /tmp/. I would…
2
votes
1 answer

Error adding jaeger exporter to RemoteWebDriver

When trying to add open telemetry to my Selenium 4 tests like this System.setProperty("otel.traces.exporter", "jaeger"); System.setProperty("otel.exporter.jaeger.endpoint", "http://localhost:14250"); …
Rob Audenaerde
  • 19,195
  • 10
  • 76
  • 121
2
votes
1 answer

Selenium capability or option to stop 'Save Card?' popup Chrome mobile browser?

Selenium is there a capability or option to stop 'Save Card?' popup Chrome mobile browser? I am using Browserstack automate to run selenium tests on an Android device using the Chrome browser and the popup is blocking some web elements for…
2
votes
0 answers

Screen Recording Using Selenium In C#

I have the following question. I want to record the video of selenium RemoteWebDriver test steps in .Net Framework and the only good way to do it (that i found) was Microsoft.Expressions.Encoder which is already depracated. I tried to add an…
2
votes
1 answer

org.openqa.selenium.WebDriverException: Unable to parse remote response:

I created a Selenium standalone Firefox docker container and started the session in Host port:4545 docker run -d -p 4545:4444 --shm-size 2g selenium/standalone-firefox:3.141.59 I checked with http://localhost:4545/ if opening or not. It worked…
2
votes
0 answers

Selenium Chrome Driver - Timed out waiting for driver server to start

I have an issue running tests using Selenium and Chromedriver. System: Windows 10. Browser: Chrome 81.0.4044.113. ChromeDriver: 81.0.4044.69. JDK: 14.0.1. Selenium Client: 3.141.59. IDE: IntelliJ (with Maven). Things I've done: updated JDK…
2
votes
1 answer

How to Launch GoogleChrome from Selenium Remote Web Driver without ChromeDriver.exe

I want to launch Google chrome on server without using ChromeDriver.exe Currently trying with RemoteWebDriver , but getting below error Code I am trying: public class DEMO { public static void main(String[] args) throws MalformedURLException { …
Suyash
  • 37
  • 6
2
votes
1 answer

Python Selenium Remote Webdriver(Chrome Webdriver via Selenium Grid), created but does not open browser

I have the following setup: A Selenium server hub running at "http://localhost:hubPortNum" (a service with the Jar file selenium-server-standalone-3.141.5.jar with parameter -role hub). A Selenium Node at running "http://localhost:nodePortNum' (the…
2
votes
1 answer

How to download file using remote Firefox webdriver?

I've tried to adapt several existing solutions (1, 2) to the remote Firefox webdriver running in a selenium/standalone-firefox Docker container: options = Options() options.set_preference('browser.download.dir',…
l0b0
  • 55,365
  • 30
  • 138
  • 223
2
votes
1 answer

How to configure special proxy settings for a remote selenium webdrive with python?

I will start by describing the infrastructure I am working within. It contains multiple proxy servers that uses a load balancer to forward user authentications to the appropriate proxy that are directly tied to an active directory. The…
2
votes
2 answers

org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn't exist

I'm try to launch electron application on remote PC which is connected as node to selenium grid.previously its worked fine.But now i'm getting this error "DevToolActivePort file doesn't exist" System.out.println("launch application in windows…
2
votes
1 answer

java.lang.NullPointerException Selenium 2 classes

My program works fine when run from my local machine with out using selenium grid with Remote Web driver. However when i set up the same test cases using selenium grid with Remote Web driver . Get message in eclipse saying:…
Jonathan
  • 395
  • 2
  • 8
  • 25
2
votes
1 answer

Selenium RemoteWebDriver UnreachableBrowserException with Edge

Hi I've been working on a side-project using Maven and a TestNG Framework. So far my code works well with WebDriver instances (Chrome, Firefox, Edge), but I keep getting errors when attempting to set up a RemoteWebDriver with Edge. Here is how I…
InvisibleExo
  • 289
  • 3
  • 22