exposed function queryseldtcor not working in puppeteer
问题 document.querySelectorAll('.summary').innerText; this throws error in below snippet saying "document.querySelector is not a function" in my puppeteer page's exposed fucntion "docTest" i want to pass specific node to each method and get the result insde the evaluate. same with document.getElemenetbyId const puppeteer = require('puppeteer'); //var querySelectorAll = require('query-selector'); let docTest = (document) => { var summary = document.querySelectorAll(.summary).innerText; console.log