Check out my short post on Playwright Awesome Selectors
My personal favourite is page.getByRole(role, options)
eg:
await page.getByRole('button', { name: 'Sign in' }).click();
Do tell me yours...😀
Check out my short post on Playwright Awesome Selectors
My personal favourite is page.getByRole(role, options)
eg:
await page.getByRole('button', { name: 'Sign in' }).click();
Do tell me yours...😀
Top comments (0)