support serverless environments (#29)
* add --executable-path * tests * test vercel * fixes
This commit is contained in:
@@ -520,6 +520,7 @@ export class BrowserManager {
|
||||
// Launch browser
|
||||
this.browser = await launcher.launch({
|
||||
headless: options.headless ?? true,
|
||||
executablePath: options.executablePath,
|
||||
});
|
||||
|
||||
// Create context with viewport
|
||||
|
||||
Reference in New Issue
Block a user