Class BrowserId
java.lang.Object
com.tccc.kos.core.service.browser.BrowserId
Identifies a particular browser on a node. In a typical
configuration, a node will only run a single browser and
the default name of that browser is empty string. In cases
where a node runs multiple browsers, each browser is named
based on the name provided to the adapter that controls the
browser.
- Since:
- 1.0
- Version:
- 2023-03-06
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BrowserId
Create a newBrowserId
to identify a particular browser instance on a node. This can be used when connecting to the default browser instance on a node which has no name.- Parameters:
nodeId
- the node the browser is running on, null for current node
-
BrowserId
Create a newBrowserId
to identify a particular browser instance on a node. Use this constructor if there is more than one browser running on the node. The name must match the name provided to the adapter that controls the particular browser instance.The default browser has no name (empty string) so this constructor can be used to identify the default browser by using empty string or null as the name.
- Parameters:
nodeId
- the node the browser is running on, null for current nodebrowserName
- the name of the browser instance
-
-
Method Details