Skip to content

Instantly share code, notes, and snippets.

@cypressious
Last active November 25, 2017 12:52
Show Gist options
  • Save cypressious/f2422b323dde20dde94b4f24db25e3b9 to your computer and use it in GitHub Desktop.
Save cypressious/f2422b323dde20dde94b4f24db25e3b9 to your computer and use it in GitHub Desktop.
external val browser: Browser
external class Browser {
val tabs: Tabs
}
external class Tabs {
fun executeScript(def: Script): Promise<List<Any>>
}
class Script(val file: String)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment