/
UI Handle By Name (sui:handle-by-name)
UI Handle By Name (sui:handle-by-name)
The sui:handle-by-name test object helps you switch the current context of driver between windows or iframes by name.
Release in: 3.0.1
Usage
<sui:handle-by-name method=""! name=""!/>
! - mandatory
Supported methods
frame
window
tab
Example
Method | Example | Behaviour |
---|---|---|
frame | <sui:handle-by-name method="frame" name="iframe-cats"/> | Switch to the “iframe-cats” Iframe. |
window | <sui:handle-by-name method="window" name="petstoreUi"/> | Switch to the “petstoreUi” window. |
tab | <sui:handle-by-name method="tab" name="data:"/> | Switch to the “data:” tab. |
, multiple selections available,
Related content
UI Handle By Index (sui:handle-by-index)
UI Handle By Index (sui:handle-by-index)
More like this
UI Handle Default Handle (sui:handle-default)
UI Handle Default Handle (sui:handle-default)
More like this
UI Get Window Handle (sui:get-window-handle)
UI Get Window Handle (sui:get-window-handle)
More like this
UI Handle Close (sui:handle-close)
UI Handle Close (sui:handle-close)
More like this
UI Set Window Handle (sui:set-window-handle)
UI Set Window Handle (sui:set-window-handle)
More like this
UI Handle Peek (sui:handle-peek)
UI Handle Peek (sui:handle-peek)
More like this