Share this page

# Web

Web namespace

# Classes

AgGrid
AgGridTO
Area
AreaTO
AudioControl
AudioControlTO
Browser
BrowserFilter
BrowserTO
Button
ButtonTO
CheckBox
CheckBoxTO
Edit
EditTO
Element
ElementTO
Event
FileField
FileFieldTO
Frame
FrameTO
Image
ImageTO
Link
LinkTO
ListBox
ListBoxTO
Menu
MenuTO
MouseEvent
NumericField
NumericFieldTO
Page
PageTO
RadioGroup
RadioGroupTO
Slider
SliderTO
Table
TableCell
TableTO
TabStrip
TabStripTO
TreeView
TreeViewTO
UiGrid
UiGridTO
VideoControl
VideoControlTO

# Type Definitions

## BrowserType

Supported browser types.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`Chrome` | string | Google Chrome
`IE` | string | Microsoft Internet Explorer
`Firefox` | string | Mozilla Firefox
`Edge` | string | Microsoft Edge
`EdgeChromium` | string | Microsoft Edge Chromium Supported on UFT Developer versions 15.0.2 and later
`Safari` | string | Safari browser on mobile devices
`PhantomJS` | string | The PhantomJS headless browser
`MobileCenterBrowser` | string | The UFT Mobile web browser
`HeadlessChrome` | string | Headless Chrome

## BrowserVersion

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`type` | string | The type of browser.
`version` | string | The browser version.

## DialogButton

Possible dialog button types

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`ok` | string | The ok button type.
`cancel` | string | The cancel button type.

## FullScreenMode

Values for the FullScreen(mode) parameter.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`off` | string | Exits Full Screen mode. Does nothing if the browser is already in normal mode.
`on` | string | Sets the browser to full screen mode. Does nothing if the browser is already in full screen mode.
`toggle` | string | Switches a full screen browser to normal mode or a normal mode browser to full screen.

## ImageTypes

Supported image types. Used for conversions of image type.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`normal` | string | A normal image without any special meaning.
`button` | string | An image contained in an input element (input type="image").
`clientImageMap` | string | An image that is part of a client-side image map (relevant for area objects).
`clientAndServerImageMap` | string | An image that is both a client image map and a server image map.
`serverImageMap` | string | An image defined as a server-side image map.
`link` | string | An image contained in an anchor element.

## TreeConfiguration

The configuration options for the tree operations. The tree test object has a default implementation for these options that work with most trees. For trees whose default implementation does not find the right HTML element to use, you should specify an XPath to help find the element.

##### Properties:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`selector` | string | optional |  | The XPath used to find the internal tree element used for selecting a tree node.
`expander` | string | optional |  | The XPath value used to find the internal tree element used to expand and collapse a tree node.
`collapser` | string | optional | use expander | The XPath value used to find the internal tree element used to collapse a node. The collapser should be specified only if it is different from the expander.
`forceExpandWithDoubleClick` | boolean | optional | false | A value used to decide if expand or collapse operations should only use a double click. If false, then the tree tries to use a single click; if the node is not collapsed/expanded it will use a double click.

Tips to improve your search results... UFT Developer JavaScript SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: