CodeceptJS - Selenoid Integration


Have you ever founds so much trouble to setup selenium grid in your CI. Then it’s your time to try this new awesome thing -> Selenoid: Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.

The integration is not simpler than this.

Start browser automation in minutes by copy-pasting just one command :
$ curl -s | bash && ./cm selenoid start --vnc --tmpfs 128

That’s it! You can now use Selenoid instead of Selenium server.

Specify the following Selenium URL in tests:

What’s next. Run your test as you do and enjoy things are running! :sunny:

Bonus: If you want to access the Selenoid UI. Not a problem

Run this command
$ docker run -d --name selenoid-ui \ --link selenoid \ -p 8080:8080 \ aerokube/selenoid-ui --selenoid-uri=http://selenoid:4444

Then access the UI on port 8080: