This chapter provides a complete listing and reference for the methods in the OpenScript BrowserService Class of Browser Module Application Programming Interface (API).
The following section provides an alphabetical listing of the methods in the OpenScript BrowserService API.
The following table lists the BrowserService API methods in alphabetical order.
The following sections provide detailed reference information for each method and enum in the BrowserService Class of Browser Module Application Programming Interface.
Sets the browser type.
The browser.setBrowserType method has the following command format(s):
browser.setBrowserType(browserType);
BrowserType enum specifying the supported browser types. For example, BrowserType.InternetExplorer.
if browser type cannot be changed.
Sets the browser type.
//Specify Browser as Mozilla Firefox. browser.setBrowserType(BrowserType.Firefox); //Specify Browser as Internet Explorer. browser.setBrowserType(BrowserType.InternetExplorer);