Another approach for running seleniumbase UC mode?
tann3r4k
HOBBYOP

a year ago

Hello,

I'm trying to run uc-mode with seleniumbase and I've already tried using the standalone chrome node template (https://railway.app/template/XXPeWN) but UC mode isn't compatible with a selenium grid because it appears that "Selenium Grid is a problem for UC Mode because while the Grid controls chromedriver, the Grid does not have the root control that is needed. UC Mode requires raw control for modifying a local chromedriver (renamed to uc_driver), as well as for disconnecting the driver from Chrome, and reconnecting to it a short time later." It's more explained here:(https://github.com/seleniumbase/SeleniumBase/issues/2965#issuecomment-2252642720)

Is there another approach or something else I can deploy to run selenium with uc-mode on railway so I don't have to run it locally on my machine?

1 Replies

brody
EMPLOYEE

a year ago

Perhaps Browserless would work for you?

You can self host it on Railway - https://railway.app/template/browserless

And here is an example with selenium -

https://github.com/brody192/selenium-example (Node)

https://github.com/brody192/selenium-example-python


Loading...