Home > Language Reference > System Variables > HTMLBrowser$

#HTMLBrowser$

The #HTMLBrowser$ system variable specifies the browser to use in subsequent Web functions.

Usage

Used to change browser in the middle of a script execution. The supported browsers are Internet Explorer, Mozilla Firefox and Google Chrome.

Syntax

#HTMLBrowser$="IE"

or

#HTMLBrowser="FF"

or

#HTMLBrowser="CH"

Parameters

string, constant, IE or FF or CH.

Remarks

The subsequent Web functions are executed using the new browser specified.

See also

StartBrowser

Example

StartBrowser("IE","www.wintask.com/demos")
UsePage("WinTask Demonstration Pages")
StartBrowser("FF","www.google.com")
#HTMLBrowser$="IE"
ClickHTMLElement("A[INNERTEXT= 'Form']")