Skip to content

Instantly share code, notes, and snippets.

@rpappalax
Last active August 29, 2015 13:58
Show Gist options
  • Save rpappalax/9943136 to your computer and use it in GitHub Desktop.
Save rpappalax/9943136 to your computer and use it in GitHub Desktop.
Marionette JS: switchToApp
/*
* Go to Email App from Calendar App
* http://evanxd.github.io/write-tests-with-marionette/#18
*/
// Go to Calendar App.
client.apps.launch(CALENDAR_APP_URL);
client.apps.switchToApp(CALENDAR_APP_URL);
// Go to System App.
client.switchToFrame();
// Go to Email App.
client.apps.launch(EMAIL_APP_URL);
client.apps.switchToApp(EMAIL_APP_URL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment