Skip to content

[Feature]: Add hover action to playwright codegen #37075

@invm

Description

@invm

🚀 Feature Request

Would be really nice if the codegen could also generate a hover statement

Example

await page.getByText("qwe").hover();

Motivation

Extend codegen functionality, add a new "hover action" tool to the Playwright recorder that allows users to record hover interactions over elements, generating the corresponding await page.locator('selector').hover() code in all supported languages (JavaScript, Python, Java, C#).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions