DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if selector exists or is present puppeteer
if (await page.$(selector) !== null) console.log('found'); else console.log('not found');
Source by github.com #
PREVIOUS
NEXT
Tagged:
#check
#selector
#exists
#present
#puppeteer
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit