This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
Feat(browser-emulator): Migrating away from proxies, lots of extra improvements and enabling TS strict mode #792
Annotations
7 errors and 1 warning
agent/main/lib/DevtoolsSession.ts#L144
BrowserLaunchError:
at DevtoolsSession.onClosed (../agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (../agent/main/lib/Connection.ts:93:15)
at PipeTransport.onReadClosed (../agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (../../shared/commons/lib/Resolvable.ts:19:18)
at createPromise (../../shared/commons/lib/utils.ts:147:10)
at DevtoolsSession.send (../agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (../agent/main/lib/Browser.ts:341:32)
at Browser.launch (../agent/main/lib/Browser.ts:156:18)
at async Object.cb (../agent/main/lib/Pool.ts:179:7)
at async Queue.next (../../shared/commons/lib/Queue.ts:188:19)
=====================================================================================
=====================================================================================
=====================================================================================
Looks like you launched Headed Chrome without an XServer running.
================================
To workaround Linux XServer issues, do either of the following:
- Use headless (showChrome: false)
- Use 'xvfb-run <your script>'
================================
------BROWSER_CREATION_Q--------------------------
at Queue.run (../../shared/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (../agent/main/lib/Pool.ts:143:44)
at Agent.open (../agent/main/lib/Agent.ts:116:34)
at async Agent.newPage (../agent/main/lib/Agent.ts:160:31)
at async Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:667:16)
|
agent/main/lib/Agent.ts#L112
A browserEngine is required to create a new Agent instance.
at Agent.open (../agent/main/lib/Agent.ts:112:15)
at Agent.newPage (../agent/main/lib/Agent.ts:160:42)
at Object.<anonymous> (../plugins/default-browser-emulator/test/basic.test.ts:36:32)
|
plugins/default-browser-emulator/lib/UserAgentSelector.ts#L28
Invalid argument not valid semver ('Sequoia' received)
at validateAndParse (node_modules/compare-versions/lib/esm/utils.js:8:15)
at compareVersions (node_modules/compare-versions/lib/esm/compareVersions.js:11:16)
at Object.compare (node_modules/compare-versions/lib/esm/compare.js:24:17)
at UserAgentSelector.isMatch (../plugins/default-browser-emulator/lib/UserAgentSelector.ts:28:41)
at Array.filter (<anonymous>)
at UserAgentOptions.findWithSelector (../plugins/default-browser-emulator/lib/UserAgentOptions.ts:98:51)
at selectUserAgentOption (../plugins/default-browser-emulator/lib/helpers/selectUserAgentOption.ts:18:37)
at Function.selectBrowserMeta (../plugins/default-browser-emulator/index.ts:344:50)
at Object.<anonymous> (../plugins/default-browser-emulator/test/navigator.test.ts:19:45)
|
plugins/default-browser-emulator/lib/UserAgentSelector.ts#L28
Invalid argument not valid semver ('Sequoia' received)
at validateAndParse (node_modules/compare-versions/lib/esm/utils.js:8:15)
at compareVersions (node_modules/compare-versions/lib/esm/compareVersions.js:11:16)
at Object.compare (node_modules/compare-versions/lib/esm/compare.js:24:17)
at UserAgentSelector.isMatch (../plugins/default-browser-emulator/lib/UserAgentSelector.ts:28:41)
at Array.filter (<anonymous>)
at UserAgentOptions.findWithSelector (../plugins/default-browser-emulator/lib/UserAgentOptions.ts:98:51)
at selectUserAgentOption (../plugins/default-browser-emulator/lib/helpers/selectUserAgentOption.ts:18:37)
at Function.selectBrowserMeta (../plugins/default-browser-emulator/index.ts:344:50)
at Object.<anonymous> (../plugins/default-browser-emulator/test/navigator.test.ts:19:45)
|
plugins/default-browser-emulator/lib/UserAgentSelector.ts#L28
Invalid argument not valid semver ('Sequoia' received)
at validateAndParse (node_modules/compare-versions/lib/esm/utils.js:8:15)
at compareVersions (node_modules/compare-versions/lib/esm/compareVersions.js:11:16)
at Object.compare (node_modules/compare-versions/lib/esm/compare.js:24:17)
at UserAgentSelector.isMatch (../plugins/default-browser-emulator/lib/UserAgentSelector.ts:28:41)
at Array.filter (<anonymous>)
at UserAgentOptions.findWithSelector (../plugins/default-browser-emulator/lib/UserAgentOptions.ts:98:51)
at selectUserAgentOption (../plugins/default-browser-emulator/lib/helpers/selectUserAgentOption.ts:18:37)
at Function.selectBrowserMeta (../plugins/default-browser-emulator/index.ts:344:50)
at Object.<anonymous> (../plugins/default-browser-emulator/test/chrome.test.ts:18:45)
|
plugins/default-browser-emulator/lib/UserAgentSelector.ts#L28
Invalid argument not valid semver ('Sequoia' received)
at validateAndParse (node_modules/compare-versions/lib/esm/utils.js:8:15)
at compareVersions (node_modules/compare-versions/lib/esm/compareVersions.js:11:16)
at Object.compare (node_modules/compare-versions/lib/esm/compare.js:24:17)
at UserAgentSelector.isMatch (../plugins/default-browser-emulator/lib/UserAgentSelector.ts:28:41)
at Array.filter (<anonymous>)
at UserAgentOptions.findWithSelector (../plugins/default-browser-emulator/lib/UserAgentOptions.ts:98:51)
at selectUserAgentOption (../plugins/default-browser-emulator/lib/helpers/selectUserAgentOption.ts:18:37)
at Function.selectBrowserMeta (../plugins/default-browser-emulator/index.ts:344:50)
at Object.<anonymous> (../plugins/default-browser-emulator/test/chrome.test.ts:18:45)
|
|
|
This job failed
Loading