Fix for #889 - Checking if console.log was called with array or not#891
Conversation
… or not for Puppeteer
|
Hm, I'm not seeing this comment on GitHub, so gonna respond via email!
For this situation, if a JSON object is passed, it would need to be handled
further down the chain.
According to the Puppeteer docs, args can only be an array of JSHandles for
the console callback:
https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-consolemessage
Unless there is something I missed?
…On Jan 22, 2018 5:29 PM, "Michael Bodnarchuk" ***@***.***> wrote:
What if an object was passed in?
Maybe just convert it to JSON?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#891 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABqQFkfWWXbTZPmi2AwxKQF5qyznXzj9ks5tNP7KgaJpZM4Roa5O>
.
|
…stall on semaphore
|
@DavertMik : After some trial-and-error, I found a potential way to resolve the Semaphore error! If you think it's a good idea, I can open another PR to replace npm with yarn to keep this PR focused on the bugfix. Alternatively, or perhaps additionally, there might be some Semaphore project settings that could be tweaked? I'm not familiar with the tool, though it seems that it can only be changed on the project page. |
Yeah, I understood the way it works and deleted my comment. Sorry )
I think both yarn lock and package lock should be removed from the repo. Anyway, they won't be taken into account when installed as a library and better to keep them out |
No description provided.