focus (UI Automation - Manipulation)
Compatible with:
- Purpose
- To move the focus to the specified element; for example, if the element is an input field, move the cursor to that field.
- This action will also bring the elements into view port.
- Syntax
- focus(locator)
- Target
- an element locator
- Value
- N/A
- Return Value
- N/A