0

When i try to click on html element with attached onclick function (some jquery call) in headless mode it doesn't work (in headful mode it works). This is example of html element

<a href="#" onclick="some_jquery_call">Click</a>

Is it possible puppeteer doesn't see jquery function in headless mode? Also my current puppeteer version is 11.0.0 , but i tried also with newer versions ]

I tried with classic puppeteer function page.click(), also with page.$eval('selector',(e)=>e.click()) etc.

  • [Why does headless need to be false for Puppeteer to work?](https://stackoverflow.com/questions/63818869/why-does-headless-need-to-be-false-for-puppeteer-to-work) – ggorlen Dec 14 '22 at 16:46

0 Answers0