Skip to main content

Close-Window

Command Description

Close a window

Command Prototype

Window.Close(objUiElement)

Parameter Description

ParameterRequiredTypeDefaultDescription
objUiElementTruedecorator@ui""The window object selector is used as a window feature and searches for the specified window

Demo

TracePrint "--------------------Close window--------------------" 
// --------------------------------------------------------
// [Remarks] Close the window
// Input parameters:
// objUiElement--target element

// Command prototype: Window.Close(objUiElement)
// --------------------------------------------------------

Window.Close(@ui"Window_www.vrbrothers.com/cn/wqm/demo/pages/Demo-Compl1")