Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/tieutantan/nodejs-playwright-boilerplater
- Owner: tieutantan
- Created: 2024-07-17T05:51:37.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-22T11:57:53.000Z (7 months ago)
- Last Synced: 2024-09-25T19:03:54.493Z (4 months ago)
- Topics: automation, boilerplater, javascript, js, nodejs, playwright
- Language: JavaScript
- Homepage: https://github.com/tieutantan/NodeJS-Playwright-Boilerplater
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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