Share this page

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.

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: