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

Need to pass '--allow-file-access-from-files' down to puppeteer launch args. #298

Closed
g2nconnell opened this issue Feb 11, 2019 · 2 comments

Comments

@g2nconnell
Copy link

Running jasmine as part of our grunt build, headless chrome requires the argument "--allow-file-access-from-files". This is because require tries to fetch dependencies using "file://" protocol.
Need to be able to specify this option in the grunt file and have it passed to puppeteer's launch options.

I believe this part of the reason for other user's issue of specs not running.

@steveoh
Copy link
Contributor

steveoh commented Feb 11, 2019

Interesting. Up for adding a pr? We run a server and require files that way so I am not motivated to add that.

@vatsala-glory
Copy link
Contributor

created the PR #306

@steveoh steveoh closed this as completed Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants