Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Chromium connector methods

The Chromium connector methods do different tasks on the applications, screens, and the elements on the screens of the Google Chrome and the Microsoft Edge browsers.

Chromium connector method levels

Application level methods

Screen level methods

Element level methods

Application level methods

Launches the web page based on the URL specified.

To provide inputs, see Configure port properties

ParameterDescriptionData Port typeData typeDefault valueMandatory?
UrlURL of the web page.Data InStringNo default valueNo
TimeoutOption to specify the time in seconds after which the operation times out.Data InIntegerNo default valueNo
ReturnIf True, the web page has launched. Else, if False, the web page hasn't launched.Data OutBooleanNot applicableNot applicable

WaitForAnyScreen

Sets a delay before the specified screens load.

To specify the screen, do the following steps:

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. On the CHOOSE SCREENS window, select the required screen.
  2. Click OK.

To provide inputs to the fields, see Configure port properties.

ParameterDescriptionData Port typeData typeDefault valueMandatory?Notes
MatchAllChildrenIf True, before loading the screen, the method matches the captured elements from the web page. Else, if False, the method doesn't match any element.Data InBooleanNo default valueNoThe elements can be found in the MATCH CHILDREN section of the Chromium Connector window.
TimeoutSpecifies the time in seconds after which the operation times out.Data InIntegerNo default valueNo 

Screen level methods

Close

Closes the captured screen window.

Focus

Sets the focus on the captured window.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnIf True, the focus was set on the captured window. Else, if False, the focus wasn't set on the captured window.Data outBooleanNo default valueNot applicable

GetFields

Returns the values of the specified fields or elements. For example, it can return the text in a button.

To specify the fields, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. In the CHOOSE FORM ELEMENTS window, select the required fields.
  2. Click OK.
ParameterDescriptionData Port typeData typeDefault valueMandatory?
Name of the field or elementField or element for which the method returns the value.Data outStringNo default valueNot applicable

GetInnerHtml

Returns the inner HTML of the captured screen.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the inner HTML of the captured screen.Data outObjectNot applicableNot applicable

GetPageSource

Returns the page source of the captured screen.

ParameterDescriptionData Port TypeData typeDefault valueMandatory?
ReturnReturns the page source of the captured screen.Data OutStringNot applicableNot applicable

GetScreenShot

Returns the screenshot of the configured screen.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the screenshot of the configured screen.Data outBitmapNo default valueNot applicable

GetTitle

Returns the title of the web page captured.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the title of the web page captured.Data outStringNo default valueNot applicable

GetURL

Returns the URL of the web page that was captured.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the URL of the web page that was captured.Data outStringNo default valueNot applicable

GetValueByXPath

Returns the value within an XML node from the specified XML path.

To provide inputs to the fields see Configure port properties.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
XPathXPath of the web page captured.Data InStringNo default valueNo
ReturnReturns the value from the XML node.Data outStringNot applicableNot applicable

IsCreated

Returns the Boolean value based on whether the screen is rendered successfully on the web application.

To provide inputs to the fields see Configure port properties.

ParameterDescriptionData Port typeData typeDefault typeMandatory?Notes
MatchAllChildrenIf True, before the screen is rendered, the method attempts to match all captured elements. Else, if False, no match is done.Data InBooleanNo default valueNoYou can find the captured elements in the MATCH CHILDREN section of the Chromium Connector window.
ReturnIf True, the screen is rendered successfully. Else, if False, the screen has failed to render successfully.Data outBooleanNot applicableNot applicable 

Element level methods

Click

Performs a click operation on the element.

Focus

Sets the focus on the element.

To provide inputs to the fields see Configure port properties.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
scrollIntoViewIf True, the method uses the scrollbar to navigate to the captured element on the web page. Else, if False, it doesn't scroll to the captured element.Data InBooleanNo default valueNo
ReturnIf True, the method sets focus on the element. Else, if False, the method has failed to set focus on the element.Data OutBooleanNot applicableNot applicable

GetInnerHTML

Returns the inner HTML of the captured element.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the inner HTML of the captured element.Data OutStringNo default typeNot applicable

GetInnerText

Returns the inner text in the captured element.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the inner text in the captured element.Data OutStringNot applicableNot applicable

GetOuterHTML

Returns the HTML element and its attributes, start, and end tags of the captured element.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnReturns the outer HTML of the captured element.Data outStringNo default valueNot applicable

GetOuterText

Returns the text content of the captured element.

ParameterDescriptionData Port TypeData typeDefault valueMandatory?
ReturnReturns the text content of the captured element.Data outStringNo default valueNot applicable

IsCreated

Returns the Boolean status of whether the captured element has loaded.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
ReturnIf True, the captured element has loaded. Else, if False, the captured element has failed to load.Data outBooleanNo default valueNot applicable

SetPassword

Automate entering password securely in the password field of a web-based application, for example securely enter password in the password field of a login form.

To provide inputs to the fields see Configure port properties.

ParameterDescriptionData Port typeData typeDefault valueMandatory?Notes
PasswordAccepts the password as a secured string.Data InSecured stringNoneYesSince it accepts the password as a secured string, it only shows the length of the string when you right-click on the parameter and then click Preview Data.
UseSendKeysSendKeys is a method used to send keyboard inputs such as characters, numbers, and symbols to text boxes inside an application.Data InBooleanFalseYesTip: If the SetPassword method fails to input the password in the password field, set the value to True and execute the method again.

SendKeys

Passes shortcut keys to the captured element.

To provide inputs to the fields see Configure port properties.

ParameterDescriptionData Port typeData typeDefault valueMandatory?
KeysTakes the shortcut keys.Data InStringNo default valueNo
ClearExistingValueIf True, the method clears any existing value in the field. Else, if False, it doesn't clear the existing value.Data InBooleanNo default valueNo
TypeDelaySets the typing delay between each key.Data InDoubleNo default valueNo

GetInstanceCount

Returns a count of the number of instances where the element is available.

GetOuterHTML

Gets the outer HTML of the captured element.

SendKeys

Simulates keystrokes on web pages and windows.

SimulateMouseEvent

Simulates the mouse event you specify on an element on a web-based application. For example, simulate a right mouse-click on an element.

Important: To simulate a mouse event on an element, it must already have that specific event defined in the web page HTML. For example, to simulate the contextmenu event on an element, the element must already have the contextmenu event defined in the HTML.

To provide inputs to the fields see Configure port properties

ParameterDescriptionData Port typeData typeDefault valueMandatory?Notes
MouseEventMouse event that occurs on the captured web page element. At the time of the mouse event occurring on a web page element, that element must already have the mouse event defined in the HTML.Data InMouseEventTypeclickYesThe method supports these mouse events.- click - dblclick - mousedown - mouseup - mouseover - mousemove - mouseout - contextmenu
MouseButtonSimulates the mouse button click on the captured web page element.Data InMouseButtonTypeLeftYesThe method supports these mouse button actions.- left - middle - right

SimulateEvent

Simulates the HTML event that you specify on a Google Chrome page or an element on the page.

To provide inputs to the fields see Configure port properties

ParameterDescriptionData Port typeData typeDefault valueMandatory?
EventNameName of the HTML event. The method supports the events provided and you must enter the name of the event exactly as specified.HTML events - load - unload - abort - error - select - change - submit - reset - focus - blur - resize - scrollData InStringNoneYes

Parent Topic:Chromium connector