Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const SELECTOR = 'abbr:last-child';
- const result = await page.evaluate((selector) => {
- return document.querySelector(selector);
- }, SELECTOR);
- console.log(result);
- console.log(typeof(res));
- console.log(result.getAttribute('data-utime'));
Add Comment
Please, Sign In to add comment