Skip to main content
Version: 9.0.0

Generic actions

focus

Method allowing to focus on a specific element of a page.

ParameterTypeDescription
selectorselectorTypeSelector of the the targeted element to focus.

Basic Usage

await I.focus("mySelector");

blur

Method allowing to unfocus on a specific element of a page.

ParameterTypeDescription
selectorselectorTypeSelector of the the targeted element to unfocus.

Basic Usage

await I.blur("mySelector");