testaro 76.1.1 → 76.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/procs/launch.js +2 -1
package/package.json
CHANGED
package/procs/launch.js
CHANGED
|
@@ -340,7 +340,8 @@ const launchOnce = async opts => {
|
|
|
340
340
|
// Create a context (i.e. window) for it.
|
|
341
341
|
const contextOptions = {
|
|
342
342
|
...device.windowOptions,
|
|
343
|
-
userAgent:
|
|
343
|
+
userAgent: device.windowOptions.userAgent
|
|
344
|
+
|| 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36',
|
|
344
345
|
viewport: device.windowOptions.viewport || {width: 1920, height: 1080},
|
|
345
346
|
locale: 'en-US',
|
|
346
347
|
timezoneId: 'America/Los_Angeles',
|