[{"data":1,"prerenderedAt":40},["ShallowReactive",2],{"blog-article-/blog/locate-elements-playwright":3,"blog-surround-/blog/locate-elements-playwright":31},{"id":4,"title":5,"body":6,"canonical":13,"date":14,"description":15,"extension":16,"featured":17,"image":18,"meta":19,"navigation":21,"ogImage":13,"path":22,"provider":23,"published":17,"seo":24,"stem":25,"tags":26,"url":29,"__hash__":30},"blog/blog/locate-elements-playwright.md","How To Locate Elements in Playwright",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],null,"2022-12-01","In order to write end to end tests we need to first find elements on the webpage and then perform user actions on them. For example, find a link and click on it. But before we dive into how to use the test generator, first let's understand what a link element is and what exactly locators are.","md",false,"v1630862642/debbie.codes/featured-posts/locators_jip380",{"platform":20},"Dev.to",true,"/blog/locate-elements-playwright","cloudinary",{"title":5,"description":15},"blog/locate-elements-playwright",[27,28],"playwright","testing","https://dev.to/playwright/how-to-locate-elements-in-playwright-2918","8L1-vu6qPOWr-2xDrVGTDQA1x13RkEpPN4edjEcf4CE",[32,36],{"title":33,"path":34,"stem":35,"children":-1},"2022 Recap - Achieving your dreams Debbie","/blog/2022-in-review","blog/2022-in-review",{"title":37,"path":38,"stem":39,"children":-1},"How to locate elements in Playwright","/blog/how-to-locate-elements-in-playwright","blog/how-to-locate-elements-in-playwright",1790839747242]