New tool alert: OpenSTF (https://openstf.github.io/) could change how we do multi-device testing. Try it out! (it's free)
It's a tool that lets you remotely control multiple devices from a browser in real-time, including full support for open/sync URLs on all devices, taking high-res screenshots (yay!), running shell commands, remote debugging, reverse port forwarding and a LOT more. It'll even write your code for you. Okay, maybe not quite that..but still! It's powerful. I've been tracking the project for a year now and am super excited it's finally ready and open-source. Having tried out many of the mainstream cross-device tools today (everything from GhostLab to BrowserSync), this really is the swiss-army knife many of us have been waiting for. Because of the way it's been written, you can also use it with
existing tools, so plugging it into BrowserSync is feasible.
I met with Simo Kinnunen and Günther Brunner of CyberAgent, the developers of OpenSTF in Tokyo this week and had a chance to talk about the project. Their tool allows you to do cross-device keyboard, mouse and multi-touch (!!) interaction (very useful for mobile webapp testing), manage a complete inventory of your devices with visual representations of them all (makes it feel like a REAL device lab) and supports everything back to Android 2.3 (it of course supports Android M too). OpenSTF also works on mobile meaning you can control from an iPhone or iPod touch and screencast (check out the screenshots).
You can use OpenSTF with both Chrome DevTools and Android Studio. It also works fine with Firefox OS and Android Wear. OpenSTF doesn't currently fully support iOS, but the architecture behind it should work with any OS. There may be a way to get it working through something like iOS WebKit Debug Proxy but that's for another day. On the performance front, Simo and Gunther are using HTML canvas for rendering the realtime view of devices (surprisingly very very smooth). I saw no drop in frames when testing it. They may also look at WebGL rendering to see if this can get even better. There's way too much this tool does to cover in this post, but I'm digging it so far.
You can watch a recording of the OpenSTF talk from Chrome Tech Talks in Tokyo this week over at https://youtu.be/VUmA1vCaOA0?t=9369
if you're interested in some demos.
Give it a spin and let me know what you think :)
I'm planning on getting OpenSTF setup for our team at Google London sometime soon.