UNPKG

page-parser-tree

Version:

Library to find elements in a dynamic web page

14 lines (10 loc) 227 B
/* @flow */ import type { TagTreeNode } from 'tag-tree'; export type NodeTagPair = {| tag: ?string, node: TagTreeNode<HTMLElement> |}; export type ElementContext = {| el: HTMLElement, parents: Array<NodeTagPair> |};