Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser.init - pass Phantomas options + set ignoreHTTPSErrors when required #821

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

macbre
Copy link
Owner

@macbre macbre commented Nov 9, 2020

$ DEBUG=phantomas:browser* ./bin/phantomas.js https://0.0.0.0:8889 --ignore-ssl-errors
  phantomas:browser Launching Puppeteer: {"args":["--disable-dev-shm-usage"],"ignoreHTTPSErrors":true} +0ms
...
  phantomas:browser console.log: The connection used to load resources from https://0.0.0.0:8889 used TLS 1.0 or TLS 1.1, which are deprecated and will be disabled in the future. Once disabled, users will be prevented from loading these resources. The server should enable TLS 1.2 or later. See https://www.chromestatus.com/feature/5654791610957824 for more information. +35ms
...
  phantomas:browser URL opened: <https://0.0.0.0:8889> +67ms

@gmetais - should help you with #816.

…quired

$ DEBUG=phantomas:browser* ./bin/phantomas.js https://0.0.0.0:8889 --ignore-ssl-errors
  phantomas:browser Launching Puppeteer: {"args":["--disable-dev-shm-usage"],"ignoreHTTPSErrors":true} +0ms
...
  phantomas:browser console.log: The connection used to load resources from https://0.0.0.0:8889 used TLS 1.0 or TLS 1.1, which are deprecated and will be disabled in the future. Once disabled, users will be prevented from loading these resources. The server should enable TLS 1.2 or later. See https://www.chromestatus.com/feature/5654791610957824 for more information. +35ms
...
  phantomas:browser URL opened: <https://0.0.0.0:8889> +67ms
@macbre macbre merged commit b40a986 into devel Nov 9, 2020
@macbre macbre deleted the pass-ignore-ssl-errors-to-puppeteer branch November 9, 2020 16:16
@macbre macbre added this to the v2.1 milestone Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant