Waits the provided milliseconds for an element to appear or returns null. Supports callbacks and promises.
Selector to pass to document.querySelector()
Max time to wait, in millis
Callback to execute after the element is found. Argument is the found element
Waits the provided milliseconds for an element to appear or returns null. Supports callbacks and promises.