escape edge path properly

This commit is contained in:
Gargaj 2021-03-30 18:27:17 +02:00 committed by GitHub
parent 55234af08f
commit 22658a3706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ const browser: puppeteer.Browser = await puppeteer.launch({
Now, change `executablePath` to reflect the path to your browser and profile (i.e. to use Microsoft Edge on Windows): Now, change `executablePath` to reflect the path to your browser and profile (i.e. to use Microsoft Edge on Windows):
```typescript ```typescript
executablePath: 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe', executablePath: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
``` ```
In Linux for Chromium, In Linux for Chromium,
```typescript ```typescript