Modification in request assignment logic in selenium grid

9 views
Skip to first unread message

Bhuvnesh Varshney

unread,
Mar 18, 2018, 12:45:19 AM3/18/18
to Selenium Users
Hi Everyone,

     I am new to selenium and I am trying to change the logic of request assignment from hub to any node based upon certain parameters. Is there any way I can achieve this?

     Thanks in advance.

Krishnan Mahadevan

unread,
Mar 18, 2018, 12:56:23 AM3/18/18
to seleniu...@googlegroups.com

You just need to build your own variant of CapabilityMatcher which will decide how the grid matches a node with requested capability and then routes the new session to that particular node based on the match.

 

Take a look at my blog post which explains this more :

 

https://rationaleemotions.github.io/gridopadesham/CAPABILITY_MATCHER.html

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
selenium-user...@googlegroups.com.
To post to this group, send email to
seleniu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/795ba29c-61bf-4d2e-8f8b-9f12be41fc9b%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages