Show HN: Browsertron – Run all your Selenium tests in parallel
browsertron.com
browsertron.com
It is $0.003 per second. So if a single test took 10 seconds, it would cost £0.03. It doesn't say if that's per second per test, or per second of parallel usage.
If for example, I have 250 tests each taking an average of 10 seconds. Is that 2,500 seconds - $7.50 per test suite run. If not, surely I can't run 250 tests in parallel for a total of 10 seconds.
I started with $0.003 per second, because it aligns with existing cloud-hosted grids. An example pricing model is ~$200/month for 2 parallel instances with 1000 min. Assuming unlimited parallelism, you get $0.00333 per second. 20+ parallel browsers on existing services are at least a couple thousand every month.
I don't think remote grids are the best solution for every test performance problem, and for some test loads, local runs can be faster. That said, pricing weighs into the remote vs local decision, so I really appreciate the feedback.
[0] https://github.com/browsertron/pytest-webdriver-example [1] https://github.com/browsertron/jest-webdriver-example
On the other hand it's not the solution my company would use, as we have to ensure cross browser compatibility.
For now we'll dockerize everything and also use a selenium grid for this.
Keep up the good work!
Changing where your tests run should be as easy as swapping out the connection string, so you could run really quickly against this, then swap out the string for your cross browser tests.
I think this merits a blog post on cross browser testing strategies, thanks!