Selenium tests on Lambdatest

Akshay Mungrey
2 min readJan 17, 2022

I have used sauce labs and BrowserStack at my work. I wanted to try out the Lambdatest infrastructure and also attempt their certification to check how I stand https://www.lambdatest.com/certifications/selenium-101

This is the approach I took

  1. Create a selenium maven project in IntelliJ. This is a great feature and allows you to create the type of project you need. The feature comes with the IntelliJ enterprise version.
  2. If you do not have an enterprise version, no worries, clone my repository : https://github.com/amungrey/amungrey-selenium-lambdatest
  3. I used the selenide library on top of selenium. I like the selenide library ever since I saw it the first time, there are a few unknowns though which I learned over this exercise. Read on to know more about it.
  4. I registered with Lambdatest and created a free account. The Lambdatest allows you to get a 15-day trial at no cost and 100 automation minutes. Since I exhausted the 100 minutes- I requested their support team, and the Lambdatest team extended my trial license by another 15 days immediately(thank you LambdaTest team)

Learnings:

  1. Selenide — expects you to pass the remote webdriverUrl using the param: selenide.remote and browser using the param selenide.browser as depicted below.
-Dselenide.remote=https://<username>:<authkey>@hub.lambdatest.com/wd/hub -Dselenide.browserSize=1024x900 -Dselenide.browser=FIREFOX

You may also have these params in the selenide.properties file.

2. Lambdatest assigns a random platform if the existing parallel license capacity is full. See the screenshot above.

Overall, the experience was very good. Lambdatest certification makes you think through scenarios you might not face in day today test automation so I loved the challenge. Do give it a try to assess/sharpen your skills. Finally, don't forget to like my content so i can bring more content like this to you in the future.

--

--