Function waitForElement

Returns a Promise that is resolved when the given checkFn function returns a value other than null or undefined.

The Promise is resolved with checkFn's return value.

The function is called initially, and then every time there are changes to the DOM children. Uses MutationObserver.

MMNEPVFCICPMFPCPTTAAATR