Rayrun
← Back to videos

New Frame Locator Functions | Playwright Tutorial Part 64

Playwright 1.17 introduces frame locators - a locator to the iframe on the page. Frame locators capture the logic sufficient to retrieve the iframe and then locate elements in that iframe. Frame locators are strict by default, will wait for iframe to appear and can be used in Web-First assertions.

The video is a tutorial on the new frame API locator from Playwright version 1.17. The tutorial demonstrates how to locate and interact with frames using the locator function. The video walks through an example where the frame locator is used to locate a parent frame and a child frame, and actions such as typing text and clicking buttons are performed within these frames. The tutorial also introduces additional methods for handling duplicate frames and navigating between frames. The video concludes by summarizing the advantages of the new frame API locator in terms of simplicity and ease of use compared to the previous version.

Related Videos

How to handle multiple tabs in Page Object Model | Playwright Tutorial - Part 87
How to handle multiple tabs in Page Object Model | Playwright Tutorial - Part 87
Playwright VsCode Extension
Playwright VsCode Extension
Playwright Installation - 2022
Playwright Installation - 2022
Playwright Allure Report | Playwright Tutorial - Part 38
Playwright Allure Report | Playwright Tutorial - Part 38
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.