Call this InteractorConstructor to initialize a floating action button Interactor.
The fab interactor can be used to interact with fabs on the page and
to assert on their state.
The fab is located by the aria-label attribute or the visible text on the fab in otherwise.
Call this InteractorConstructor to initialize a floating action button Interactor. The fab interactor can be used to interact with fabs on the page and to assert on their state.
The fab is located by the
aria-label
attribute or the visible text on the fab in otherwise.Example
Filters
title
: string – Filter by titleid
: string – Filter by idvisible
: boolean – Filter by visibility. Defaults totrue
. See isVisible.disabled
: boolean – Filter by whether the fab is disabled. Defaults tofalse
.focused
: boolean – Filter by whether the fab is focused. See focused.svgIcon
: boolean - Filter by whether the fab has icon.Actions
click()
: Interaction – Click on the fabfocus()
: Interaction – Move focus to the fabblur()
: Interaction – Move focus away from the fab