Scrape an element that is saved as a variable

后端 未结 0 1479
梦谈多话
梦谈多话 2020-12-10 21:44

I have scraped an element by using this code:

const text = await page.evaluate(() => Array.from(document.querySelectorAll(`tr`), element => element.text         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题