Node mode and default protocol

27 views
Skip to first unread message

Alexei Barantsev

unread,
May 8, 2013, 5:39:39 AM5/8/13
to selenium-...@googlegroups.com
Hi, all,

Let's suppose I start a node with the following options:

java -jar selenium-server.jar -role rc -hub ... -browser "browserName=*googlechrome,maxInstances=1"

You can see that there is no protocol specified in -browser option, but the node mode is set to RC.

Should this "-role rc" implty that by default the protocol is Selenium (not WebDriver)?

Regards,
-- 
Alexei Barantsev
Software-Testing.Ru
Selenium.Ru

Mike Riley

unread,
May 8, 2013, 5:51:44 AM5/8/13
to selenium-...@googlegroups.com
You gave it a "-role rc" switch, so it is supposed to be in rc mode.

Mike

Luke Inman-Semerau

unread,
May 8, 2013, 1:25:35 PM5/8/13
to selenium-...@googlegroups.com
The roles only allow one to use a pre-canned config (RC corresponds to a particular yml file i believe). By using the -browser switch you are effectively overriding that config and if wouldn't matter if you specify -role node  or rc or wd (I think it's just wd).

I think it's up to the configurer of the node (person starting up the node) to specify a full and proper configuration. Although I wouldn't be opposed to that change to imply certain undefined parameters based on a specified role.

-Luke


--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages