Puppeteer js, unable to execute page in $$eval

I’ve seen this asked around but I can’t pinpoint what I’m doing wrong. Error: UnhandledPromiseRejectionWarning: Error: Evaluation failed: ReferenceError: page is not defined const page = await browser.newPage(); await page.goto(‘https://example.com’); const getAllElements = await page.$$eval(‘.aclass’, links => { links.map(link => { page.hover(link); page.screenshot({path: `example${link}.png`}); }) }) Expected behavior is that I go to example.com, I…

Details

Viewer quality settings (for one viewer on the page)

I have two viewers on the same page. And I want to set performance settings for only one viewer with following code: this.viewer.setQualityLevel(false, false); this.viewer.setGroundShadow(false); this.viewer.setGroundReflection(false); this.viewer.setProgressiveRendering(true); BUT (!) settings are applied for both viewers for some reason. Is there any way to apply them only for one viewer on the page?

Details

decode this regex

I’ve tried to understand the below but don’t seem to get the last part of the regular expression which has {1,40}. Overall, I know the pattern tries to match the special characters and something else (the {1,40}) regexp_like(COLUMN,’^[‘||UNISTR(‘\0020′)||’-‘||UNISTR(‘\0060’)||UNISTR(‘\007B’)||UNISTR(‘\007D’)||UNISTR(‘\007E’)||UNISTR(‘\00C0′)||’-‘||UNISTR(‘\00DF’)||’]’||'{1,40}$’)

Details