wait (doc)
Time to wait for the page to be ready. If you’re sure the URL matches, you can also provide JavaScript that returns a boolean.
Example 1:
"wait": 500
Check every 500ms before the rule applies.
Example 2:
"wait": "await fetch('https://xxx.xxx');let img=doc.querySelector('ul.list img');return img!=null"
Repeat checks until the code returns true.
docis the page document; this example checksul.list img.
When wait is set, the rule applies once the URL matches.