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

Setting Device Width for Remote Webdriver in Selenium

I am using Selenium grid 40 with Firefox remote driver that runs in windows 7. I also use C# API. I was wondering how to Set Device width on headless Firefox browser. The device width is less than ipads max width and this causes it to pick up ipad…
4
votes
1 answer

Python- Using Proxy(Browsermob) with Remote Webdriver

I'm trying to check on the network traffic on a site using Browsermob Proxy. By running the following: I've found that the Proxy server is refusing connections: "the proxy server is refusing connections" "firefox is configured to use a proxy that is…
user3662456
  • 267
  • 2
  • 11
4
votes
2 answers

How to check if an alert is open using nodejs webdriver (wd)

I am struggling writing a test; in which I want to check if an alert exists, check its text if it does and accept it. I checked How to wait for an alert in Selenium webdriver ?, How to check if an alert exists using WebDriver? and selenium 2.4.0,…
lkenneth
  • 131
  • 2
  • 8
4
votes
1 answer

How to set Browser Language using RemoteWebDriver

I'm using Selenium and have tests that randomly choose the browser they run in. I have some test that test functionality related to internationalization, so I need to have the browser specify the browser language. My best guess is I need to use…
alphanumericone
  • 268
  • 3
  • 12
4
votes
4 answers

Appium and iOS Mobile Safari automation, can it be done?

I cannot get any automation working with Appium vs the Safari mobile browser on an iOS emulator. In my Java project, Safari will launch, but the browser will not even navigate to the specified website. Can anyone tell me what I'm doing wrong with my…
Wulf
  • 379
  • 1
  • 6
  • 16
4
votes
2 answers

Remote Webdriver Chrome throws a "path to the driver executable" error

Hi when i use the following code IWebDriver _webDriver = new RemoteWebDriver(new Uri("http://127.0.0.1:4444/wd/hub"), DesiredCapabilities.Chrome()); I get the follwing error System.InvalidOperationException : The path to the driver…
Anand S
  • 760
  • 5
  • 13
  • 28
3
votes
2 answers

WebStorage with RemoteWebDriver

I am trying to access WebStorage when running my tests, I am running tests locally using ChromeDriver and remotely in the pipeline using RemoteWebDriver. I am unable to access WebStorage when using RemoteWebDriver WebStorage webStorage =…
Matthewek
  • 1,519
  • 2
  • 22
  • 42
3
votes
1 answer

Getting error when instantiating RemoteWebDriver

I am trying to launch chrome browser using RemoteWebDriver with the following code. File file = new File("E:\\S\\chromedriver.exe"); //path to the chromedriver.exe so downloaded //System.setProperty("webdriver.chrome.driver",…
learningQA
  • 115
  • 1
  • 9
3
votes
3 answers

selenium RemoteWebDriver opens but ChromeOptions are not passed to Selenium Grid

I have been trying to resolve a few issues with RemoteWebDriver and ChromeOptions using docker and selenium grid. The main issue is with the proxy but I half resolved that with a proxy pac file passing the pac file url as an arg into ChromeOptions.…
3
votes
1 answer

Remote WebDriver UnreachableBrowserException: Could not start a new session

I got this exception for all browsers. For example, I create a remote webdriver on chrome like this: caps = DesiredCapabilities.chrome(); ChromeOptions options = new…
Ragnarsson
  • 1,715
  • 7
  • 41
  • 74
3
votes
2 answers

Not able to run more than 10 Tests in parallel via TestNG Dataprovider

Hi i have designed a selenium test to run in parallel (25) @Test(dataProvider = "getData" ) public void multiUserTest(String url, String username, String password) throws InterruptedException, IOException, FindFailed { …
3
votes
0 answers

PhantomJS with Selenium Grid 2 - how to disable phantomjsdriver.log?

I have been trying to find this somewhere in the documentation, but can't seem to find anything relevant - could anybody share how to disable the logs created by a Selenium Grid node, in the file phantomjsdriver.log, (or if not, only write at a…
chrisc
  • 434
  • 3
  • 9
3
votes
1 answer

How select the gender in registration form by selenium 2.0?

I want to create a bot, which will be registrate accounts in gmail. I have problem with selecting the month of birth. I'm programming on C# using Selenium 2.0. Source code of this "complicated" part.
3
votes
2 answers

Page.render() returns false

I'm using phantomjs for taking screenshots of several webpages. To get a screenshot image i have used the following code. var page = require('webpage').create(); page.viewportSize = { width: 1200,height:…
3
votes
5 answers

Selenium: NoSuchElementException in Internet Explorer

I'm trying to port a Selenium script for an internal Webapp from Selenium IDE to a Selenium Grid setup with RemoteWebDrivers in Java. The scripts work fine with Chrome and Firefox, but not in Internet Explorer. Every time I try to find an element in…
1 2
3
22 23