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
0
votes
1 answer

remotewebdriver configure one node per browser?

I want to run my tests on a remote vm by using selenium grid the vm has different browsers so my question is: is it necessary to start a node for every single browser?
user1944151
  • 353
  • 1
  • 4
  • 16
0
votes
1 answer

How to show mbunit/gallio TestLog or Console output in Jenkins?

I'm using Gallio/MbUnit framework for my web testing, and the tests are kicked off from Jenkins. I've installed the Gallio/MbUnit plugin and it's publishing the xml report. I'm trying to find a way to display test log or console messages in the…
Sean
  • 282
  • 3
  • 11
0
votes
1 answer

Selenium remote webdriver failing with class cast exception

I my tests working calling the selenium grid server. but now they're all failing with a class cast exception. (can't cast a string to a map). Stepping through the Selenium code the response coming from the selenium grid server is some html…
tad604
  • 336
  • 1
  • 5
  • 18
0
votes
1 answer

Selenium Server - Google Captcha issue

I have Selenium Server running on a remote server, and on the same server I have a public-facing site configured in IIS that implements the RemoteWebDriver to run automated tests. I am accessing the site from my local machine, and it's generally…
user806982
  • 135
  • 4
  • 16
0
votes
3 answers

Selenium Grid 2 for RemoteWebDriver gives an exception for Chrome browser

Please see my grid batch file. (I added both chrome binary and chrome driver location in my path) My code works perfectly if I use firefox but for chrome and IE it throws an Exception given below. I am sure I am missing a very trivial thing but I am…
0
votes
2 answers

Start Selenium test cases using jenkins

I have prepared a test cases using selenium webdriver and I ran locally using MSTEST and it works fine and now I would like to move my test cases to JENKINS, and when i run from JENKINS it says Starting execution... and its more than 15 mnts and…
Nick Kahn
  • 19,652
  • 91
  • 275
  • 406
0
votes
1 answer

Selenium RemoteWebDriver doesn't seem to recognize javascript changes to web elements

I have been trying to test for visibility of WebElements after executing some javascript. The WebElements are found by the following xpaths: public static final String MOBILE_APPS_RUNNING_APP_XPATH = "//*[@id='app_slider']/ul/li[1]/a[@class='app…
-1
votes
2 answers

SeleniumGrid: org.openqa.selenium.WebDriverException: Unable to parse remote response: </a></h3> <div class="excerpt">I'm trying to write test cases using selenium. I wrote this code. And i got this error org.openqa.selenium.WebDriverException: Unable to parse remote response: but I don't understand what is wrong public static WebDriver driver=null; …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/selenium-webdriver" class="post-tag grid--cell" title="show questions tagged 'selenium-webdriver'" rel="tag">selenium-webdriver</a> <a href="../../questions/tagged/selenium-grid" class="post-tag grid--cell" title="show questions tagged 'selenium-grid'" rel="tag">selenium-grid</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 07 '21 at 21:48">asked Oct 07 '21 at 21:48</time> <a href="../../users/17101813/krishna" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/17101813.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Krishna" /> </a> <div class="s-user-card--info"> <a href="../../users/17101813/krishna" class="s-user-card--link">Krishna</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-65768256"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/65768256/changing-default-download-destination-for-remotewebdriver" class="question-hyperlink">Changing Default Download Destination for RemoteWebDriver</a></h3> <div class="excerpt">Im trying to set the default download directory to some thing like: _webServerFolderDirectory = @"D:\Web\FreshPlatformRegression1\RegressionTestResources"; but i am having no luck finding anything anything to do so. I can find solutions for…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/c#" class="post-tag grid--cell" title="show questions tagged 'c#'" rel="tag">c#</a> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/selenium-webdriver" class="post-tag grid--cell" title="show questions tagged 'selenium-webdriver'" rel="tag">selenium-webdriver</a> <a href="../../questions/tagged/selenium-chromedriver" class="post-tag grid--cell" title="show questions tagged 'selenium-chromedriver'" rel="tag">selenium-chromedriver</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 18 '21 at 02:57">asked Jan 18 '21 at 02:57</time> <a href="../../users/4730973/jeremias-rossner" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4730973.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jeremias Rößner" /> </a> <div class="s-user-card--info"> <a href="../../users/4730973/jeremias-rossner" class="s-user-card--link">Jeremias Rößner</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">89</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-63478783"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/63478783/gitlab-ci-implementation-of-zap-with-selenium" class="question-hyperlink">GitLab CI implementation of ZAP with Selenium</a></h3> <div class="excerpt">I have been trying to get ZAP running in the Gitlab CI pipeline but with no luck. Even though it works fine in my local machine on ChromeDriver , when i try interacting with Remote WebDriver while running on the Gitlab Shared Runner , i cant seem to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/continuous-integration" class="post-tag grid--cell" title="show questions tagged 'continuous-integration'" rel="tag">continuous-integration</a> <a href="../../questions/tagged/gitlab" class="post-tag grid--cell" title="show questions tagged 'gitlab'" rel="tag">gitlab</a> <a href="../../questions/tagged/zap" class="post-tag grid--cell" title="show questions tagged 'zap'" rel="tag">zap</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 19 '20 at 01:32">asked Aug 19 '20 at 01:32</time> <a href="../../users/14128682/curiosmind" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/14128682.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="curiosmind" /> </a> <div class="s-user-card--info"> <a href="../../users/14128682/curiosmind" class="s-user-card--link">curiosmind</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-50913300"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/50913300/remotewebdriver-causing-stackoverflow-error-when-calling-switchto-method" class="question-hyperlink">RemoteWebDriver causing stackoverflow error when calling switchTo() method</a></h3> <div class="excerpt">Selenium Version: 3.7.1 I am automating a java swing application and making use of remote web driver as follows: DesiredCapabilities dc = new DesiredCapabilities(); dc.setBrowserName("java"); dc.setVersion("…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/stack-overflow" class="post-tag grid--cell" title="show questions tagged 'stack-overflow'" rel="tag">stack-overflow</a> <a href="../../questions/tagged/xvfb" class="post-tag grid--cell" title="show questions tagged 'xvfb'" rel="tag">xvfb</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 18 '18 at 15:55">asked Jun 18 '18 at 15:55</time> <a href="../../users/9516378/larry" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/9516378.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Larry" /> </a> <div class="s-user-card--info"> <a href="../../users/9516378/larry" class="s-user-card--link">Larry</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">226</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badge">2</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badge">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-41015249"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/41015249/re-initialize-remote-webdriver" class="question-hyperlink">Re-Initialize Remote Webdriver</a></h3> <div class="excerpt">So I've been trying to re-instantiate my remote webdriver by calling it in a static webdriver extensions class public static void WaitForForm(this RemoteWebDriver rwd, string form) { rwd = new IOSDriver<IOSElement>(new…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/c#" class="post-tag grid--cell" title="show questions tagged 'c#'" rel="tag">c#</a> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/webdriver" class="post-tag grid--cell" title="show questions tagged 'webdriver'" rel="tag">webdriver</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 07 '16 at 10:39">asked Dec 07 '16 at 10:39</time> <a href="../../users/7261723/taran" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7261723.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Taran" /> </a> <div class="s-user-card--info"> <a href="../../users/7261723/taran" class="s-user-card--link">Taran</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">491</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="8 silver badges">8</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badges">22</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37444212"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37444212/running-remotewebdriver-java-scripts-unlimted-times" class="question-hyperlink">Running RemoteWebDriver Java Scripts Unlimted Times?</a></h3> <div class="excerpt">I am still a beginer with Java and anything to do with remotely doing anything. Please bear with me. I am running a Java script that simulates the actions of a user on my companies site. They have asked me to use these scripts all day long. My…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/scripting" class="post-tag grid--cell" title="show questions tagged 'scripting'" rel="tag">scripting</a> <a href="../../questions/tagged/webdriver" class="post-tag grid--cell" title="show questions tagged 'webdriver'" rel="tag">webdriver</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 25 '16 at 17:41">asked May 25 '16 at 17:41</time> <a href="../../users/1604246/al-lo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1604246.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="al_lo" /> </a> <div class="s-user-card--info"> <a href="../../users/1604246/al-lo" class="s-user-card--link">al_lo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-31613652"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/31613652/selenium-working-too-slow" class="question-hyperlink">Selenium working too slow</a></h3> <div class="excerpt">We are using the following code snippet in order to pass to the next test step safely. private void waitTextPresent(String toBeExpectedText) throws InterruptedException { for (int second = 0;; second++) { if (second >= 60)…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/testing" class="post-tag grid--cell" title="show questions tagged 'testing'" rel="tag">testing</a> <a href="../../questions/tagged/selenium-webdriver" class="post-tag grid--cell" title="show questions tagged 'selenium-webdriver'" rel="tag">selenium-webdriver</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 24 '15 at 14:52">asked Jul 24 '15 at 14:52</time> <a href="../../users/1376472/iso-9001" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1376472.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="iso_9001_" /> </a> <div class="s-user-card--info"> <a href="../../users/1376472/iso-9001" class="s-user-card--link">iso_9001_</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,655</li> <li class="s-award-bling s-award-bling__gold" title="6 gold badges">6</li> <li class="s-award-bling s-award-bling__silver" title="31 silver badges">31</li> <li class="s-award-bling s-award-bling__bronze" title="47 bronze badges">47</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-20550226"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/20550226/window-size-for-remotewebdriver-chrome" class="question-hyperlink">Window Size for RemoteWebDriver Chrome</a></h3> <div class="excerpt">I'm trying to change window size for selenium RemoteWebDriver. I execute: driver.manage().window().maximize(); but it doesn't work when working with RemoteWebDriver and CHROME. Does anybody know how to solve that? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/selenium" class="post-tag grid--cell" title="show questions tagged 'selenium'" rel="tag">selenium</a> <a href="../../questions/tagged/selenium-webdriver" class="post-tag grid--cell" title="show questions tagged 'selenium-webdriver'" rel="tag">selenium-webdriver</a> <a href="../../questions/tagged/remotewebdriver" class="post-tag grid--cell" title="show questions tagged 'remotewebdriver'" rel="tag">remotewebdriver</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 12 '13 at 17:31">asked Dec 12 '13 at 17:31</time> <a href="../../users/1614316/czajek" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1614316.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="czajek" /> </a> <div class="s-user-card--info"> <a href="../../users/1614316/czajek" class="s-user-card--link">czajek</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">714</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="9 silver badge">9</li> <li class="s-award-bling s-award-bling__bronze" title="23 bronze badge">23</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/remotewebdriver_page=21" rel="prev" title="Go to page 21">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/remotewebdriver_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/remotewebdriver_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/remotewebdriver_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <div class="s-pagination--item is-selected">22</div> <a class="s-pagination--item" href="../../questions/tagged/remotewebdriver_page=23" rel="" title="Go to page 23">23</a> <a class="s-pagination--item" href="../../questions/tagged/remotewebdriver_page=23" rel="next" title="Go to page 23"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>