Browsers.RemoteItem Property

Applies to TestComplete 14.72, last modified on April 22, 2021

Description

Use the Browsers.RemoteItem property to access a particular web browser installed on a remote computer or remote mobile device managed by Selenium Grid.

Declaration

Browsers.RemoteItem(HubUrlCapabilities)

Read-Only Property A BrowserInfo object
HubUrl [in]    Required    String    
Capabilities [in]    Required    Object    

Applies To

The property is applied to the following object:

Parameters

The property has the following parameters:

HubUrl

Specifies the URL of Selenium Grid that manages the remote environment (node) that contains the web browser you want to access. It can be either a private Selenium hub or Selenium Grid provided as a service by a third-party provider.

Capabilities

An object that describes the desired capabilities of the remote environment that contains the web browser you want to get. Your Selenium Grid defines which capabilities to use.

Property Value

A BrowserInfo object that provides a scripting interface to the desired browser instance. If your Selenium Grid does not provide an environment that matches the specified capabilities, the method will post an error message to the test log.

See Also

Browsers Object
Item Property
About Cross-Platform Web Tests

Highlight search results