Playwright Enhanced For Automation Tasks!
- Support install extensions on the browser.
- Custom multiple geolocation.
- Block resource load from domains.
- Multiple run modes.
- playwright-extra.
npm i
- xxxxxx
// xxxxxx
Hoan Kiem
GEOLOCATION : {latitude: 21.0304, longitude: 105.8446},
Binh Thanh
GEOLOCATION : {latitude: 10.8121, longitude: 106.6971},
New York
GEOLOCATION : {latitude: 40.697, longitude: -74.144},
Le Chan
GEOLOCATION : {latitude: 20.8357, longitude: 106.66699},
await page.evaluate(() => {
document.addEventListener('mousemove', (event) => {
console.log('Mouse X:', event.clientX, 'Mouse Y:', event.clientY);
});
});
await page.pause();
Google Chrome: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default
Chromium: C:\Users\%USERNAME%\AppData\Local\Chromium\User Data\Default