-
Notifications
You must be signed in to change notification settings - Fork 260
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
Add support for Selenium Grid #1023
Comments
That's very much needed shall I try it on my weekend and try to give a upgrade |
Sure. If you have some spare resources / time to work on it, feel free. A PR would be very much appreciated. The grid deals with the queue / sessions ids, so we would need to build some logic to handle that on our side. I wouldn't change the current Selenium impl, though to avoid breaking users (not every body uses a Selenium grid). |
@jnioche - Feel free to assign this issue to me. |
I have the solution but being very busy nowadays, I thought of pushing it long back and forgot to do it... |
I have pushed the solution to my fork. @jnioche @rzo1 Take a look if you feel the implementation is good to have let me know I will raise the PR. If not @dhaneshsabane can take some inspiration and ideas to further enhance from this. I am extremely sorry to delay this so much. |
The changes produced in my previous message was tested in production environment and was getting used for our purpose. |
So perhaps open a PR and collaborate in getting the required changes into that PR? ;-) Afterwards, we can do a review, etc. |
ok let me provide the PR this weekend or I will take out some time after work to do it |
From my POV (and as original opener of this issue), we now have playwright available, which scales easily. So I am going to close this. |
Mainly creating this issue as a possible future request for anyone, who has some time to contribute.
Selenium nowadays supports Selenium Grid . Selenium Grid runs in parallel on multiple machines (called Nodes) coordinated by a Hub instance.
Details can be found here: https://www.selenium.dev/documentation/grid/components/
Our current Selenium Protocol impl cannot deal with the Hub setting as we are using a
LinkedBlockingQueue
to handle multiple Selenium drivers (instances).We should perhaps add an additional
SeleniumGridProtocol
, which can make use of Selenium Grid so we can fully leverage the grids distributed capabilities (instead using only one session of a given Selenium Grid)The text was updated successfully, but these errors were encountered: