This extension contains code snippets for JavaScript framework Genie based on Casper.
Installation
In order to install an extension you need to launch the Command Pallete (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions.
There you have either the option to show the already installed snippets or install new ones. Search for Genie snippets and install it.
Supported languages (file extensions)
JavaScript (.js)
Snippets
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB key.
Methods
Trigger
Content
auth→
authenticate page with basic authentication await this.authenticate();
evalu→
evaluate function inside browser page context this.evaluate(function(param) {}, variableParam);