Skip to content

Using force option #2088

@ankur22

Description

@ankur22

What

Clicking elements that aren't naturally interactive or visible may indicate underlying issues.

Solution

Avoid using force: true in click actions as it may indicate test design issues. Investigate why elements aren't naturally clickable.

Probably best placed in the click API docs.

Force clicking bypasses natural user interaction checks. This is related to the cookie banner handling -- #2089.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions