Hacker News new | ask | show | jobs
by scriby 4517 days ago
I'm working on https://github.com/scriby/browser-harness. It's a little different in approach because it doesn't use selenium at all (rather it uses a websocket connection with the browser to control it).

It's considerably more lightweight and compatible with all browsers you care about, but you can't do everything you can do with selenium.

We've been using it for about 6 months at work and having good results.

2 comments

This looks interesting and I have something I'd like to use it on, but the documentation could add a few things. How do I install this? How do I run a script?
Good point.

Check out https://github.com/scriby/browser-harness-bootstrap-tests for a full example. Browser harness itself is just a conduit between node and a browser - you need to provide the test framework yourself (mocha, vows, etc.).

Awesome! I'm going to try it out now.
Wow, this is awesome! Excellent work on this. Going to give it a spin over the weekend.