playwright-mcp/src/tools
Ryan Malloy b2462593bc feat: add comprehensive device emulation with geolocation, locale, timezone, permissions, and colorScheme
- Added browser_list_devices tool to show 143+ available device profiles organized by category (iPhone, iPad, Pixel, Galaxy, Desktop, Other)
- Enhanced browser_configure tool with device emulation using Playwright's device descriptors database
- Added support for geolocation coordinates with accuracy settings
- Implemented locale and timezone configuration for internationalization testing
- Added colorScheme preference (light/dark/no-preference) for accessibility testing
- Included permissions management for various browser APIs (geolocation, notifications, camera, microphone)
- Device emulation properly overrides individual viewport/userAgent settings when specified
- All context options are properly applied and browser context is recreated with new settings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 06:06:43 -06:00
..
common.ts chore: do not double close connection (#744) 2025-07-23 17:41:15 -07:00
configure.ts feat: add comprehensive device emulation with geolocation, locale, timezone, permissions, and colorScheme 2025-08-11 06:06:43 -06:00
console.ts chore: introduce response type (#738) 2025-07-22 16:36:21 -07:00
dialogs.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
evaluate.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
files.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
install.ts chore: introduce response type (#738) 2025-07-22 16:36:21 -07:00
keyboard.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
mouse.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
navigate.ts chore: save session log (#740) 2025-07-22 20:06:03 -07:00
network.ts chore: introduce response type (#738) 2025-07-22 16:36:21 -07:00
pdf.ts chore: introduce response type (#738) 2025-07-22 16:36:21 -07:00
screenshot.ts chore: introduce response type (#738) 2025-07-22 16:36:21 -07:00
snapshot.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
tabs.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
tool.ts chore: extract loop tools into a separate folder (#755) 2025-07-24 16:22:03 -07:00
utils.ts chore: move state to tab, do not cache snapshot (#730) 2025-07-22 07:53:33 -07:00
video.ts feat: add video recording tools for browser sessions 2025-07-24 18:27:54 -06:00
wait.ts chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00