I am modifying in javascript the content of a page loaded in a WkWebView and take a screenshot using takeSnapshotWithConfiguration:completionHandler: on the completion handler of the javascript.
Unfortunately I am often getting partially rendered page. I would really like to avoid any delay/timer method but I am looking for a "way" to really know when the page finished rendering