Detailsvariable

Call this InteractorConstructor to initialize a details Interactor. Which locates details tags by their summary.

Example

await Details('Show more').toggle();
await Details('Show more').is({ open: true });

Filters

  • open: boolean – Whether the details tag is open
  • visible: boolean – Filter by visibility. Defaults to true. See isVisible.

Actions

  • toggle(): Interaction – show/hide the details

← Back to @interactors/html