observedElement.requestFocus() can wait for an element to become accessible within the specified timeout and focus it right after. The cross origin version internally wasn't passing the argument to do so — if an observed element existed on the page but wasn't accessible (like having aria-hidden, for example), requestFocus() was immediately returning with no focused element.
observedElement.requestFocus() can wait for an element to become accessible within the specified timeout and focus it right after. The cross origin version internally wasn't passing the argument to do so — if an observed element existed on the page but wasn't accessible (like having aria-hidden, for example), requestFocus() was immediately returning with no focused element.