Skip to content

Commit 2eba79b

Browse files
authored
fix: permissions in mobile and geolocation example (#1667)
1 parent 65ca87c commit 2eba79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const iPhone11 = devices['iPhone 11 Pro'];
6464
viewport: iPhone11.viewport,
6565
userAgent: iPhone11.userAgent,
6666
geolocation: { longitude: 12.492507, latitude: 41.889938 },
67-
permissions: { 'https://www.google.com': ['geolocation'] }
67+
permissions: ['geolocation']
6868
});
6969
const page = await context.newPage();
7070
await page.goto('https://maps.google.com');

0 commit comments

Comments
 (0)