-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute web Test on a particular selenium 4 grid nodes #2923
Comments
How would you do this in plain Selenium? |
@wakaleo Right now we are not doing this even with selenium 3. Appreciate suggestions on how can I hit particular node through configuration. |
that's not how you use the grid, right? you let the hub decide which node to pick. |
a similar question is unanswered |
All the W3C and driver-specific capabilities go in the capabilities section (https://serenity-bdd.github.io/docs/guide/driver_config#specifying-w3c-properties) where they are passed as-is. However if you need to provide a custom remote URL that is different each time, you could try implementing the ProvidesRemoteWebdriverUrl interface. |
@wakaleo if there is any example you can point out about implementing ProvidesRemoteWebdriverUrl |
Hi @wakaleo
Recently we migrated to selenium 4 and would like to have a capability to run test on a particular node.
eg : we have environment integration where we have 5 nodes registered and available in console. I would like to run test on a particular node (eg : node A) rather than picking random.
Right now our run configuration looks like this :
-Denvironment=integ -Dwebdriver.driver=remote -Dwebdriver.remote.driver=edge
How to pass the node id through the run configuration ?
The text was updated successfully, but these errors were encountered: