Skip to content

Conversation

@chrismcintosh
Copy link
Contributor

Hi Kai,

As requested here is the pull request for making Browsershot wait until network idle on the ExecuteJavascriptMiddleware.

This is my first Open Source pull request - so thanks for your patience!

Best,
Chris

@ksassnowski
Copy link
Contributor

Psalm seems to be complaining about this change. I had a quick look at it and it looks like we just have to suppress the error. The problem is that the return type of waitUntilNetworkIdle method of the Browsershot class isn't properly annotated, so Psalm can't guarantee that the closure actually returns the correct type. Since this is not something we can fix in this repository, I'm fine with ignoring the error for now.

@ksassnowski
Copy link
Contributor

ksassnowski commented Sep 9, 2022

Fixes #55

Alright, looks good to me! Thanks a lot for the contribution and congrats on your first open source contribution! I'll tag a new release with change later 👍

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.

2 participants