Support for writing automated tests for webVR