# execute

  • Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame.
  • @summary Support: Web(WebView)
  • @see {@link https://w3c.github.io/webdriver/#executing-script|POST /session/:sessionId/execute}
  • @param code script
  • @param [args] script argument array