Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tieutantan/nodejs-playwright-boilerplater

Playwright Enhanced For Automation Tasks!
https://github.com/tieutantan/nodejs-playwright-boilerplater

automation boilerplater javascript js nodejs playwright

Last synced: 4 months ago
JSON representation

Playwright Enhanced For Automation Tasks!

Awesome Lists containing this project

README

        

# NodeJS-Playwright-Boilerplater
Playwright Enhanced For Automation Tasks!

### Features
- Support install extensions on the browser.
- Custom multiple geolocation.
- Block resource load from domains.
- Multiple run modes.
- playwright-extra.

### Installation
```bash
npm i
```

### Coming Soon...
- xxxxxx
```javascript
// xxxxxx
```

### Locations

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},

### Debug Mouse Position
await page.evaluate(() => {
document.addEventListener('mousemove', (event) => {
console.log('Mouse X:', event.clientX, 'Mouse Y:', event.clientY);
});
});
await page.pause();

### Paths
Google Chrome: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default
Chromium: C:\Users\%USERNAME%\AppData\Local\Chromium\User Data\Default