Closed Romhast closed 1 year ago
As mentioned in the warning message and also in this commit for the latest release, the launch method has been replaced with launchPersistentContext. Also please check #9 and #8.
It means that the launch method now returns a BrowserContext instance instead of a Browser, and also accepts options object from the launchPersistentContext as parameters. In order to change geolocation and so on you should use the methods described here.
Hi, I was going to use newContext for geolocation and device, but I couldn't find such a function. Do you know?