6 ms·
I'm working on https://github.com/scriby/browser-harness https://github.com/scriby/browser-harness. It's a little different in approach because it doesn't use s
by scriby 13y ago
I'm working on https://github.com/scriby/browser-harness 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.
- Scriptor 13y agoThis 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?
- scriby 13y agoGood point. Check out https://github.com/scriby/browser-harness-bootstrap-tests 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.).
- Scriptor 13y agoAwesome! I'm going to try it out now.
- cnp 13y agoWow, this is awesome! Excellent work on this. Going to give it a spin over the weekend.