Closed mantoni closed 3 years ago
Sorry for not waiting for the review. I'm trying to use this in @sinonjs/fake-timers
to fix a long pending issue with webdriver tests there, and I fear I won't have much time for this in the next couple of days.
Sorry for not waiting for the review.
Sorry for not catching things like a missing bin
in the review I guess :facepalm:
I just tried applying the new version to a project of mine and couldn't get it to work as the setup relies on a custom Chrome installation inside of a Docker container. I currently cannot pass any options to driver-puppeteer
so I can't get it to work. Looking into how to fix it I wasn't entirely sure what's the best way forward:
launchOptions
The _retain
folder still has the old chromium implementation. You can check how it was done there. I noticed the same with GitHub actions that already have a chrome bin installed.
Should consumers be able to pass through all of puppeteer's launchOptions
On the one hand, why not? On the other hand, there are quite a few unintuitive settings.
Should the driver selectively allow and pass certain options?
We could provide sensible default settings for the testing scenario and then allow users to override those settings with any options they want.
index.html
in thefiles
array.spec
, which is what mochify supports now as well.