How to configure remote selenium server in robot

689 views
Skip to first unread message

Cris Rol

unread,
Mar 1, 2017, 1:47:32 PM3/1/17
to robotframework-users
Hi,


I include this line in the script but didn't work.

Set Environment Variable    webdriver.chrome.driver    C:\\Python27\\chromedriver.exe

Here is the log I got in Open Browser:


Opening browser 'chrome' to base url 'https://10.12.14.132:8443/spotlight' through remote server at 'http://10.181.33.112:4444/wd/hub'
17:44:58.230WARNKeyword 'Capture Page Screenshot' could not be run on failure: No browser is open
17:44:58.234FAILWebDriverException: Message: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html Stacktrace: at com.google.common.base.Preconditions.checkState (Preconditions.java:199) at org.openqa.selenium.remote.service.DriverService.findExecutable (DriverService.java:109) at org.openqa.selenium.chrome.ChromeDriverService.access$0 (ChromeDriverService.java:1) at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable (ChromeDriverService.java:137) at org.openqa.selenium.remote.service.DriverService$Builder.build (DriverService.java:296) at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService (ChromeDriverService.java:88) at org.openqa.selenium.chrome.ChromeDriver.<init> (ChromeDriver.java:138) at sun.reflect.GeneratedConstructorAccessor11.newInstance (None:-1) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (None:-1) at java.lang.reflect.Constructor.newInstance (None:-1) at org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor (DefaultDriverProvider.java:103) at org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance (DefaultDriverProvider.java:97) at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance (DefaultDriverFactory.java:60) at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call (DefaultSession.java:222) at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call (DefaultSession.java:1) at java.util.concurrent.FutureTask.run (None:-1) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (None:-1) at java.util.concurrent.ThreadPoolExecutor$Worker.run (None:-1) at java.lang.Thread.run (None:-1)
Regards,
Cris Rol 

Tatu Aalto

unread,
Mar 2, 2017, 1:14:42 AM3/2/17
to crisr...@gmail.com, robotframework-users
Ugh

I think you have mixed up few things and perhaps selenium grid [1] documentation will set you on the right track

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Wlad

unread,
Mar 2, 2017, 2:25:13 AM3/2/17
to aalto...@gmail.com, crisr...@gmail.com, robotframework-users
@Cris check out this one:

HOW TO - Robot Framework & Selenium (Grid) Server [1]

[1] https://github.com/Tset-Noitamotua/_learnpython/blob/master/robotframework_examples/howto_robotframework_selenium_grid_server.md

Cheers
Tset

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

Tset Noitamotua

unread,
Mar 10, 2017, 5:42:47 AM3/10/17
to robotframework-users
Just posting updated link to my How To cause I renamed a file recently


HOW TO - Robot Framework & Selenium (Grid) Server [1]

Tatu Aalto

unread,
Mar 10, 2017, 9:05:16 AM3/10/17
to Wladislaw Wagner, robotframework-users
Ugh

Would you be interested to submit that to Selenium2Library repository?


-Tatu
Send from my mobile
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.

Wlad

unread,
Mar 10, 2017, 10:46:23 AM3/10/17
to Tatu Aalto, robotframework-users
You mean to the keyword documentation or Wiki ?

Tatu Aalto <aalto...@gmail.com> schrieb am Fr. 10. März 2017 um 15:05:
Ugh

Would you be interested to submit that to Selenium2Library repository?


-Tatu
Send from my mobile
On Mar 10, 2017 12:42, "Tset Noitamotua" <wagner.w...@gmail.com> wrote:
Just posting updated link to my How To cause I renamed a file recently

HOW TO - Robot Framework & Selenium (Grid) Server [1]

[1] https://github.com/Tset-Noitamotua/_learnpython/blob/master/robotframework_examples/How To_robotframework_selenium_grid_server.md

Cheers
Tset

 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

Tatu Aalto

unread,
Mar 10, 2017, 11:47:55 AM3/10/17
to Wladislaw Wagner, robotframework-users
Ugh

Perhaps a wiki would be better place. And possible a link from keyword documentation to the wiki.


-Tatu
Send from my mobile
On Mar 10, 2017 5:46 PM, "Wlad" <wagner.w...@gmail.com> wrote:
You mean to the keyword documentation or Wiki ?
Tatu Aalto <aalto...@gmail.com> schrieb am Fr. 10. März 2017 um 15:05:
Ugh

Would you be interested to submit that to Selenium2Library repository?


-Tatu
Send from my mobile
On Mar 10, 2017 12:42, "Tset Noitamotua" <wagner.w...@gmail.com> wrote:
Just posting updated link to my How To cause I renamed a file recently

HOW TO - Robot Framework & Selenium (Grid) Server [1]

[1] https://github.com/Tset-Noitamotua/_learnpython/blob/master/robotframework_examples/How To_robotframework_selenium_grid_server.md

Cheers
Tset

 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages