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

The example does not run #41

Open
alex1s1 opened this issue Nov 16, 2023 · 1 comment
Open

The example does not run #41

alex1s1 opened this issue Nov 16, 2023 · 1 comment

Comments

@alex1s1
Copy link

alex1s1 commented Nov 16, 2023

When trying to run the example from the readme I get the following output in the console:

Puppeteer old Headless deprecation warning:
   In the near feature `headless: true` will default to the new Headless mode
   for Chrome instead of the old Headless implementation. For more
   information, please see https://developer.chrome.com/articles/new-headless/.
   Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
   If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
   
    }
54 |     
55 |                 await controller.close();
56 |             }
57 |         } catch (e) {
58 |             throw new Error('Puppeteer close method failed with the following message: ' + e.message)
                     ^
error: Puppeteer close method failed with the following message: Page or browser is not defined

@RonV91
Copy link

RonV91 commented Jan 16, 2024

Hi @alex1s1,

I have checked it and for me it is working as expected. In order to give you a better assistance on this, may you please provide me the installed version of Impressionist and the code snippet that you are trying to run?

Thanks!

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

No branches or pull requests

2 participants