4
2 Comments

Selenium as a service? Browserstack on a budget?

Hi,

Are there any other devs out there who struggle to implement automated testing for their application?

I have a bunch of automated browser tests that I run locally whenever I make changes to my code. All it does is:

  • Spin up a selenium grid instance plus a few headless browsers in a docker-compose project
  • Run a bunch of tests
  • Capture a video of the test execution so I can debug test failures easily

I'm aware that there are a hold bunch of solutions out there that do this already, but the price of these makes them impossible as a bootstrapped maker:

  • Browserstack ($1249/month!!)
  • Gridlastic ($395/month)
  • Lambdatest ($119/month)

For what I need, I reckon I can spin up something in AWS, maybe within the free tier limits, which would support a decent number of end users.

Is this a problem that other devs have? Is a service like this something that you'd consider paying for, if the price was right?

Thanks for your feedback,
Chris

on September 1, 2021
  1. 1

    There is also cypress.io, the new more visual alternative for Selenium. Not sure they allow another managed service for their tool though.

  2. 1

    Hi Chris!

    I'll go straight to the points.

    • Is this a real problem?
      Yes

    • Would I pay for this?
      As little as possible.

    • Have I tried to solve this for myself?
      Yes, of course.

    • Did I use AWS for that?
      Never in my life.

    • Did I use Google Cloud for that?
      Absolutely!

    • Why?
      The UX. As sweet as honey.

    • How easy is it to lift such infrastructure?
      10 minutes if you know exactly what to do.

    • If someone would ask me how did I solve this, what would I share?
      A short document with step-by-step instructions and a docker-compose file.

    I did this for the scraping API I've built page2api.com and was surprised by how easy it was.

    In summary: it's easy to solve this problem if you have this step-by-step guide.
    10 minutes setup and you end up paying only for a cheap Google VM Instance