Const
Call this InteractorConstructor to initialize a details Interactor. Which locates details tags by their summary.
details
await Details('Show more').toggle();await Details('Show more').is({ open: true }); Copy
await Details('Show more').toggle();await Details('Show more').is({ open: true });
open
visible
true
toggle()
Call this InteractorConstructor to initialize a details Interactor. Which locates
details
tags by their summary.Example
Filters
open
: boolean – Whether the details tag is openvisible
: boolean – Filter by visibility. Defaults totrue
. See isVisible.Actions
toggle()
: Interaction – show/hide the details