--
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/14e6b816-c818-4604-950e-7743ddcc4fd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c214f2fb-dba1-4b59-aa94-834822240b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f9127509-537c-4f98-bcac-e24f9f23ddde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You should very easily be able to add the required attributes (domain/ip etc.,) to your capabilities when you create a RemoteWebDriver instance.
At the grid end, you just plugin in the required logic to take into consideration these new attributes (domain/ip etc.,) apart from the default ones and then based upon a match, you have the capability matcher route the test.
Additionally, you would need a custom subclass of DefaultRemoteProxy, which after honoring a new session request, perhaps logs the ip/domain etc., into your redis cache.
Where exactly are you stuck when you tried this?
If you are talking about the session id of your application, then am not sure how to deal with it, coz AFAIK until you login, you don’t generate one.
If you are talking about the session id that the grid uses, then am afraid, you would have to consider something else, because session id is generated after a session is allocated which means a node has already been picked up to route the test to.
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/
Reply-To: <seleniu...@googlegroups.com>
Date: Monday, March 19, 2018 at 6:06 PM
To: Selenium Users <seleniu...@googlegroups.com>
Subject: Re: [selenium-users] Re: Customising the list of nodes to be given to the hub for request assignment
.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/10f70a74-b533-4721-b142-0a732dae0dd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You should very easily be able to add the required attributes (domain/ip etc.,) to your capabilities when you create a RemoteWebDriver instance.
At the grid end, you just plugin in the required logic to take into consideration these new attributes (domain/ip etc.,) apart from the default ones and then based upon a match, you have the capability matcher route the test.
Additionally, you would need a custom subclass of DefaultRemoteProxy, which after honoring a new session request, perhaps logs the ip/domain etc., into your redis cache.
Where exactly are you stuck when you tried this?
If you are talking about the session id of your application, then am not sure how to deal with it, coz AFAIK until you login, you don’t generate one.
If you are talking about the session id that the grid uses, then am afraid, you would have to consider something else, because session id is generated after a session is allocated which means a node has already been picked up to route the test to.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit