Skip to content

Instantly share code, notes, and snippets.

@hdavidzhu
Last active September 26, 2016 22:07
Show Gist options
  • Save hdavidzhu/efcb7eddd00033273d943f01e82d7ae1 to your computer and use it in GitHub Desktop.
Save hdavidzhu/efcb7eddd00033273d943f01e82d7ae1 to your computer and use it in GitHub Desktop.
20160926-usage.coffee
extension = new Extension(@driver)
...
...
it 'can do some extension stuff ...', ->
extension.enterInnerFrame()
# Now we are inside of the extension! Do your assertions here.
...
# If you need to get back to your main page, just jump out.
extension.enterRootFrame()
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment