Skip to content

History / Wait for a specific element

Revisions

  • The TypeScript type-checker complained that checking for `node.matches` is improper

    @kazarmy kazarmy committed Jun 21, 2021
  • `node` might not have a `matches()` method, e.g. if it is a `Text` node, and thus checking for it prevents premature termination of the `find()`

    @kazarmy kazarmy committed Jun 21, 2021
  • carried over recipe from https://github.com/cyrus-and/chrome-remote-interface/issues/134#issuecomment-303780773

    @paulirish paulirish committed May 27, 2017