advanced-browser
Installation
SKILL.md
Through browser_run_code, you can use the full Playwright API to perform advanced browser interactions.
Geolocation
async (page) => {
await page.context().grantPermissions(['geolocation']); // always grant permission first
await page.context().setGeolocation({
latitude: 52.5234,
longitude: 13.4014,
accuracy: 100 // optional. number in meters. usually not needed
});
}
Clock Mocking
Use Playwright's clock API to control time in tests: