Browser::execute

From RAGE Multiplayer Wiki
Revision as of 14:28, 4 May 2017 by SalwadoR (talk | contribs) (Created page with "This function used for call JavaScript code in created browser. ==Syntax== <syntaxhighlight lang="typescript"> void browser.execute(string executedCode); </syntaxhighlight>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function used for call JavaScript code in created browser.

Syntax

void browser.execute(string executedCode);

Required Arguments

  • executedCode: JavaScript code what will be executed in browser.

Example

That's example made nothing useful.

browser.execute(`alert(\`It's a test.\`);`);

See Also