Skip to content

Implement page|frameLocator|locator.frameLocator #5177

@ankur22

Description

@ankur22

Feature Description

This is a convenience method that makes working with iframes a little bit easier. At the moment we do:

const iframe = page.locator('iframe').contentFrame();

And with this new method we would do:

const iframe = page.frameLocator('iframe');

As well as working on page, we should implement the method for frameLocator and locator.

Suggested Solution (optional)

NA

Already existing or connected issues / PRs (optional)

NA

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions