docs(readme): swap locator for getByText (#22059)
This commit is contained in:
parent
6929214dbf
commit
81f3f987be
|
|
@ -118,7 +118,7 @@ test.use({
|
|||
|
||||
test('Mobile and geolocation', async ({ page }) => {
|
||||
await page.goto('https://maps.google.com');
|
||||
await page.locator('text="Your location"').click();
|
||||
await page.getByText('Your location').click();
|
||||
await page.waitForRequest(/.*preview\/pwa/);
|
||||
await page.screenshot({ path: 'colosseum-iphone.png' });
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue