EmbedScript Method
Runs this JavaScript each time a page or frame loads or refreshes in the browser.
Remarks

- The script remains embedded until you close the browser, or until the run session ends.

- Using this method to perform alert operations may result in unexpected behavior.

- To run this method, the security settings in your Web browser must be set to allow active scripting. Otherwise, steps using this method will fail.

C# Syntax
void EmbedScript( 
   string script
)

Parameters

script
The full content of the JavaScript to embed.