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

potential fix for puppet warning #1486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Neychok
Copy link

@Neychok Neychok commented Jun 22, 2023

Would something like this fix #1485 ?

I've never contributed to BackstopJS before so I am sorry if I missed any steps when creating this PR.

Happy to work on this more, if any other changes are required.

@tkrah
Copy link
Contributor

tkrah commented Jul 5, 2023

You would need to pass the string "new" to fix that warning - but I can't recommend using new yet, see the issue comment.

dgrebb added a commit to dgrebb/BackstopJS that referenced this pull request Nov 22, 2023
…breaking fashion (garris#1485) (garris#1486)

Puppet and Playwright complain and pollute logs with warnings about "new headless mode". This reads the value set in backstop.json, or uses true if 'headless' is not set, or 'new', as a string. README updated with details.

Closes: garris#1485
@dgrebb
Copy link
Contributor

dgrebb commented Nov 22, 2023

Thanks for the work on this @Neychok — I submitted a new PR which will work with backwards compatibility in mind.

garris pushed a commit that referenced this pull request Nov 22, 2023
…breaking fashion (#1485) (#1486) (#1511)

Puppet and Playwright complain and pollute logs with warnings about "new headless mode". This reads the value set in backstop.json, or uses true if 'headless' is not set, or 'new', as a string. README updated with details.

Closes: #1485
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Puppeteer old Headless deprecation warning
3 participants