Skip to main content
Version: 8.0.2

Generic actions

focus

Method allowing to focus a specific element on a page.

ParameterTypeDescription
selectorselectorTypeSelector of the the targeted element to focus.

Basic Usage

await I.focus("mySelector");

blur

Method allowing to unfocus a specific element on a page.

ParameterTypeDescription
selectorselectorTypeSelector of the the targeted element to unfocus.

Basic Usage

await I.blur("mySelector");