Browser Configuration Line

This section describes how to define the browser to be emulated using the sl.rtvapm.uxmon.urlrobot.browser= prefix. The Browser Configuration Line transfers the behavior settings of your chosen browser to the underlying HTMLUnit library Browser. For details about the HTMLUnit library, see HTMLUnit Browser Variables JavaDoc. Do not edit or move the prefix.

Go to http://whatsmyuseragent.com/ to get information you need about your current browser settings. In your uxmon.properties file, locate the Browser Configuration Line. In the following example, note that there is no space between the prefix and the first element, and no word-wrapping:

sl.rtvapm.uxmon.urlrobot.browser=applicationName=Netscape applicationVersion='5.0 (Windows)'
userAgent='Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1'
browserVersionNumeric=1.2

Use the sl.rtvapm.uxmon.urlrobot.browser= prefix to define Browser Configuration Line elements described in the following table.

NOTE: Also see http://whatsmyuseragent.com/CommonUserAgents.asp for a list of common userAgents.

applicationName

Specifies the name of the browser to emulate. Valid values are Netscape, 'Microsoft Internet Explorer' and Chrome. The default is Netscape.

Example:
applicationName=Netscape

applicationVersion

Specifies the browser version number. Valid values are Netscape, 'Microsoft Internet Explorer' and Chrome.

Example:
applicationVersion='5.0 (Windows)'

userAgent

Specifies the string for the browser. Valid values vary among browsers.

Example:
userAgent='Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0’

browserVersionNumeric

Specifies the specific URL address to contact. Valid values vary among browsers.

Example:
browserVersionNumeric=1.2'