IE Connector methods

  • Release version: Australia
  • Updated March 12, 2026
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of IE Connector methods

    The IE connector methods facilitate various tasks related to Internet Explorer (IE) connectors, enabling users to interact with screens and elements effectively. These methods are categorized into connector, screen, and element levels, allowing for structured access to their functionalities.

    Show full answer Show less

    Key Features

    • Connector Level Methods:
      • Navigate: Opens a specified web page and returns a Boolean response.
      • WaitForAnyScreen: Waits for a screen to load, with an optional timeout.
    • Screen Level Methods:
      • DownloadFile: Downloads a file based on the provided URL and filename.
      • ExecuteJavaScript: Executes custom JavaScript on an open webpage after configuring the script and parameters.
      • GetValueByXPath: Returns a string output based on a specified XPath.
      • SetFields: Inputs data into form fields.
      • Refresh: Reloads the current webpage.
      • GetPageSource: Retrieves the source code of the active page.
    • Element Level Methods:
      • Click: Performs a click operation on the element.
      • GetInnerHTML: Returns the inner HTML of the element.
      • GetInnerText: Retrieves the inner text of an element.

    Key Outcomes

    By utilizing these methods, ServiceNow customers can enhance their automation processes within IE, streamline interactions with web pages, and efficiently manage application elements. Each method provides specific functionalities that contribute to overall process efficiency, enabling users to automate tasks such as data entry, file downloads, and screen navigation seamlessly.

    The IE connector methods perform different tasks on the IE connector, screens, and the elements on the screens. The methods are available at the connector, screen, and the element levels and you can expose the methods by completing appropriate steps.

    IE connector method levels

    Connector level methods

    Screen level methods

    Element level methods

    Connector level methods

    Navigate

    Opens a web page based on the URL you specify and returns the Boolean response.
    Input
    URL
    Output
    Return (Boolean)

    WaitForAnyScreen

    The method executes a wait period before a screen loads up. You can specify a timeout after which the method times out the request.

    Input

    MatchAllChildren

    Timeout

    Screen level methods

    DownloadFile

    Downloads a file from the screen or web page based on the URL and file name you specify.
    Input
    Url
    fileName
    Output
    Return (Boolean)

    ExecuteJavaScript

    Executes custom JavaScript on an application or website open on the IE browser. You must configure the method before executing.

    To configure the JavaScript, do the following steps.
    1. Click the method settings icon (Method settings icon.).
    2. Enter the custom script under the JAVA SCRIPT section.
    3. To add parameter to the script, click the add parameter icon (Add parameter icon.) under the PARAMETER heading.
      Note:
      A Data In port is added with each parameter.
    4. Click OK.
    Input
    Parameter
    Output
    Return (Object)

    GetValueByXPath

    Converts an XPath and returns the output as a string.
    Input
    XPath (String)
    Output
    Return (String)

    GetValuesByXPath

    Returns the values within columns based on the specified XPath expression.

    Input

    You must configure the XPath expressions before executing the method. To configure, do the following steps.
    1. Click the method settings icon (Method settings icon.).
    2. Update the name of the column.
    3. Define the XPath expression.
    4. Click OK.

    Output

    Returns the data table after the operation.

    Hide

    Hides the active browser window.

    Restore

    Restores the browser window hidden using the Hide method.

    GetURL

    Returns the URL of the website or web page.

    Output

    Return (String)

    WaitForCreate

    Sets a delay before a web page or a window loads.

    Inputs

    timeoutInSeconds

    MatchAllChildren

    Outputs

    Return (Boolean)

    SetFields

    Sets the data in form field types.

    SendKeys

    Simulates the keystrokes on web pages and windows.

    Inputs

    Keys

    MatchAllChildren

    TypeDelay

    Minimize

    Minimizes the window.

    Maximize

    Maximizes the window.

    IsReady

    Returns the Boolean response to the request to check whether the website is ready to accept requests from methods.

    Output

    Return (Boolean)

    MatchChildren

    Matches all elements of a web page that you have captured and returns a Boolean response accordingly. You can configure whether the method should match all children.

    Input

    matchAllChildren

    Output

    Return (Boolean)

    IsCreated

    Returns the Boolean response to the request to find whether a website on an Internet Explorer browser is open. You can optionally have the method check whether all captured elements of the website matches.
    Inputs
    MatchAllChildren
    Output
    Return (Boolean)

    Refresh

    Reloads the contents of the active web page.

    SaveAs

    Saves the active web page to the local disk.

    Print

    Prints the active web page in the browser.

    Input

    NoPrompt

    GetPageSource

    Returns the page source of the active window open on the IE browser.

    Output

    Return (String)

    GetScreenShot

    Returns the screen shot of a window or area in a window.

    Output

    Return (Bitmap)

    GetTitle

    Returns the title of a window open in the IE browser.

    Output

    Return (String)

    GetFields

    Accesses data in the forms returns the data as output. You must configure the method before executing.

    To configure, do the following steps.
    1. Click the method settings icon (Method settings icon.).
    2. Select the form elements.
    3. Update the form element data type.
    4. Click OK.

    Output

    Form field

    Focus

    Sets the focus on a window that is running in the background or minimized and makes it active.

    Output

    Return (Boolean)

    Close

    Closes the active window.

    Element level methods

    These methods are exposed when you double-click an application element under the Global Objects in the Project Explorer.

    Click

    Performs a click operation on the element.

    GetInnerHTML

    Gets the inner HTML of the element.

    Output

    Return (String)

    GetInnerText

    Gets the inner text of an element.

    Output

    Return (String)

    GetOuterHTML

    Gets the outer HTML of the element.

    Output

    Return (String)

    GetURL

    Gets the URL of the element.

    Output

    Return (String)