Brought up by Zalando, Zalenium is open-source with the vision to eliminate the hassle of maintaining an in-house Selenium Grid. Zalenium does so by offering a Docker-based Selenium Grid on-cloud which gets auto-updated with latest browsers, along with their driver versions.
Zalenium offers capabilities to help you define your Desired Capabilities in your test automation suite. Zalenium also offers an intuitive dashboard representing all the detailed logs of your test script execution. Using Zalenium, you can even perform automation testing over your locally hosted web pages. However, you would only be able to perform automated cross browser testing over the browsers that are installed in your machine.
LambdaTest integration with Zalenium will help you perform automated cross browser testing for your locally hosted web pages for over 2000+ real browser and browser versions, installed and hosted on-cloud.
Be aware of your LambdaTest authentication credentials i.e. your LambdaTest username, access key and HubURL. You need to set them up as your environment variables. You can retrieve them from your LambdaTest automation dashboard by clicking on the key icon near the help button.
1 2 |
$ export LT_USERNAME= {your lambdatest username} $ export LT_ACCESS_KEY= {your lambdatest access_key} |
1 2 |
$ set LT_USERNAME= {your lambdatest username} $ set LT_ACCESS_KEY= {your lambdatest access_key} |
Declare your LambdaTest environment variable into your respective Zalenium Docker over which you wish to perform automated cross browser testing. Below is an example code representing what you need to declare in your Zalenium Docker.
1 2 3 4 5 6 7 8 |
export LT_USERNAME=<your username> export LT_ACCESS_KEY=<your accessKey> export LT_URL=<your LT url : port number> # default value is "https://hub.lambdatest.com" docker run --rm -ti --name zalenium -p 4444:4444 \ -e LT_USERNAME -e LT_ACCESS_KEY -e LT_URL \ -v /tmp/videos:/home/seluser/videos \ -v /var/run/docker.sock:/var/run/docker.sock \ --privileged dosel/zalenium start --lambdaTestEnabled true |
Kudos! As simple as that, you have integrated Zalenium with LambdaTest account. In case you have any questions, feel free to let us know by dropping an email at support@lambdatest.com, or just give a shout to our 24/7 customer chat support. Happy testing! 🙂