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
19
votes
2 answers

From a technical perspective, how does Selenium click an element on a web page?

Context is provided in case anyone knows of an alternative way to solve the larger issue. Problem Context I am spearheading the development of a test automation framework for a web application which uses Web Components. This has presented a…
13
votes
6 answers

BrowserStack: Unexpected error. Authorization required

I have two simple tests that are using RemoteWebDriver with ChromeOptions and EdgeOptions. Both these tests are using common code to set capabilities, including the browserstack.user and browserstack.key capabilities. Because I am using…
Mark Cooper
  • 6,738
  • 5
  • 54
  • 92
13
votes
2 answers

How to set the firefox profile at the node end in remote webdriver/grid configuration

It is always suggested to set the firefox profile in DesiredCapabilities and pass that through the wire ,where the hub is running . Like below DesiredCapabilities caps = DesiredCapabilities.firefox(); FirefoxProfile profile=new…
Som
  • 4,618
  • 4
  • 29
  • 32
12
votes
4 answers

Unable to create new remote session

How to resolve this issue. Earlier my code was working, but IE settings were reseted by someone. Now I am getting this exception. Started InternetExplorerDriver server (32-bit) 2.53.1.0 Listening on port 16183 Only local connections are allowed Oct…
Gourav Sinha
  • 203
  • 1
  • 3
  • 12
11
votes
3 answers

Selenium RemoteWebDriver c# - System.InvalidOperationException

I have a sample UI test project using v3.4.0 of Selenium.WebDriver. Everything works fine when I run the tests against a local driver but I want to get things working using Selenium Grid 2. As soon as I try to instantiate a new RemoteWebDriver I get…
obaylis
  • 2,904
  • 4
  • 39
  • 66
9
votes
1 answer

Remote webdriver - Passing firefox profile with Rest Client Extension (add-on)

Currently I am able to send a firefox profile over a RemoteWebDriver, but I am not able to send the RestCLient extension over the profile. I require a certain REST client extension(firefox add-on) to be available for my test case execution. If I…
LearningSnippet
  • 101
  • 1
  • 1
  • 5
9
votes
5 answers

How to instantiate InternetExplorerDriver with Selenium WebDriver using C#

new InternetExplorerDriver(); But I could see exception as below: OpenQA.Selenium.DriverServiceNotFoundException was unhandled by user code HResult=-2146233088 Message=The IEDriverServer.exe file does not exist in the current directory or in a…
9
votes
2 answers

Selenium remoteWebDriver : connection to selenium-standalone-server fail (driver version unknown)

I received an exception after trying to setup a connection to selenium-server-standalone by using remoteWebDriver in an application test written in Java. The issue is related the usage of remoteWebDriver starting selenium-server-standalone (with …
8
votes
2 answers

Selenium Remote Webdriver with remote profile

Is it possible to open a Selenium Remote Webdriver with a specific remote profile (not temporary) in the server? I have only been able to pass a browser_profile from the client. If I instantiate the class without browser_profile Selenium creates a…
Nuno André
  • 4,739
  • 1
  • 33
  • 46
7
votes
5 answers

Using Selenium RemoteWebDriver behind corporate proxy

How can I connect to a selenium grid such as BrowserStack via RemoteWebDriver from behind a corporate proxy? The application under test is outside the proxy and freely accessible from BrowserStack. This Using Selenium RemoteWebDriver behind…
Andrew Sumner
  • 793
  • 2
  • 12
  • 29
7
votes
1 answer

How to use selenium on SmartTV browser

I know that selenium can be used for Android devices by starting adb-server, chromedriver and then creating webdriver.Remote() instance... I'm wondering if there a similar way to operate with web-browser on Samsung SmartTV device using selenium. If…
Andersson
  • 51,635
  • 17
  • 77
  • 129
7
votes
1 answer

How to get statistics for selenium grid utilization

I'm using selenium grid with 13 nodes, each one is limited to one chrome instance. My project uses most of those nodes on different times. In the future, I will need to add more nodes - due to more tests, parallel exec., different browsers ,…
6
votes
1 answer

What is the difference between RemoteWebDriver and WebDriver?

I actually couldn't find a good explanation of whats the difference between RemoteWebDriver and a WebDriver in Selenium. Here's a code where eclipse told me to cast WebDriver to RemoteWebDriver. (!((RemoteWebDriver)…
jackra1n
  • 63
  • 3
  • 7
6
votes
2 answers

First character is missing inconstantly while sending string to the ExtJS input via sendKeys()

I randomly face the issue of missing first character in the ExtJS5 input field, while sending string via sendKeys method. System info: Ubuntu 14.04 -> docker containers with selenium grid (2.48.2) Browser Firefox Code is simple. I just get input…
Mike
  • 725
  • 1
  • 8
  • 11
6
votes
1 answer

Selenium: Run test on my machine remotely?

So I am running Chromedriver on my computer (win, administrator mode) like chromedriver.exe --verbose --whitelisted-ips= On my server I have tests that I want to run on my own computer. So I set up the Remote Webdriver, and the tests seems to start…
user299709
  • 4,922
  • 10
  • 56
  • 88
1
2 3
22 23