Abstract
Rest
...args: []Rest
...args: []Rest
...args: [label: string]Rest
...args: [label: string]Base element of given page object
Get the locator map of given page object
Parent element of given page object
Abstract
findFind an item in this view section by label. Does not perform recursive search through the whole tree. Does however scroll through all the expanded content. Will find items beyond the current scroll range.
Label of the item to search for.
Optional
maxLevel: numberLimit how deep the algorithm should look into any expanded items, default unlimited (0)
Promise resolving to ViewItem object is such item exists, undefined otherwise
Finds Welcome Content
present in this ViewSection and returns it. If none is found, then undefined
is returned
Retrieve an action button on the sections's header by its label
label/title of the button
ViewPanelAction object if found, undefined otherwise
Retrieve the action buttons on the section's header
Promise resolving to array of ViewPanelAction objects
Abstract
getClick on the More Actions... item if it exists
ContextMenu page object if the action succeeds, undefined otherwise
Abstract
openOpen an item with a given path represented by a sequence of labels
e.g to open 'file' inside 'folder', call openItem('folder', 'file')
The first item is only searched for directly within the root element (depth 1). The label sequence is handled in order. If a leaf item (a file for example) is found in the middle of the sequence, the rest is ignored.
If the item structure is flat, use the item's title to search by.
Rest
...path: string[]Sequence of labels that make up the path to a given item.
Promise resolving to array of ViewItem objects representing the last item's children. If the last item is a leaf, empty array is returned.
Poll for the element to become visible
custom timeout for the wait
custom interval to control polling
thenable self reference
Wait for the element to become visible
custom timeout for the wait
thenable self reference
Generated using TypeDoc
Page object representing a collapsible content section of the side bar view