How to use the launch URL

698 views
Skip to first unread message

Simon Shepard

unread,
Aug 20, 2014, 12:30:50 PM8/20/14
to nightw...@googlegroups.com
Hey,

I can't find any examples on the internet of how to reference the launch URL from the nightwatch.js configuration in the actual test itself. Really simple example would be appreciated! Documentation is a little sparse.

Thanks

Simon

Michael Valentine

unread,
Aug 20, 2014, 1:12:07 PM8/20/14
to nightw...@googlegroups.com
You can access it from inside a test using client.launch_url.
ex.
client.url(client.launch_url); //Opens the browser to the launch url target
Reply all
Reply to author
Forward
0 new messages