The bottom line is that all content is generated after onLoadFinished(), set the delay until the tags appear by a certain selector
That is, almost all webmasters execute their javascript on the DOMContentLoaded event at the document object.
Tell me how to implement the execution of the correct screenshot of the site. as an example, YouTube.
https://ibb.co/pf1LwcD
