I have a problem trying to get the selector of a dynamic DOM in pupeeter.
The selector is as follows: "#dart-1566045617072 > div > div > view-loader.header._ngcontent-bgj-0 > ideas-header > search-bar > div > slider-panel > div > div.static-container._ngcontent-bgj-30 > div > div > div.option-container._ngcontent-bgj-29 > div > material-button > material-ripple"
As can be seen in the part of # dart-1566045617072 it changes dynamically every time the page loads.
I have tried to click the selector with the following code in puppeteer:
await [login to view URL]('[id^="dart-"] > div > div > view-loader.header._ngcontent-pcr-0 > ideas-header > search-bar > div > slider-panel > div > div.static-container._ngcontent-pcr-30 > div > div > div.option-container._ngcontent-pcr-29 > div > material-button > div')
But it doesn't work, it returns me error, please help.
Hi, I am very familiar puppeteer and manipulate dynamic things , I can help you. I am very good at web scraping and network automation tasks,I can crawl any website whether or not it applies anti-crawling mechanism. Daha Fazla