AwaitedDOM

The AwaitedDOM is a NodeJs implementation of W3C's DOM specification that makes it easy to call properties and methods located in a remote browser engine as if they were local to your scraper script context.

What Properties and Methods Can I Use?

Many readonly properties and methods have been implemented. We haven't added DOM manipulation APIs because we believe they are easy to detect by the website. We recommend performing actions as a human as much as possible (click, type, move the mouse, etc).

On each documented class, you can find a list of the unimplemented methods and properties at the bottom.

Introducing Supers

Supers give you access to all properties and methods of dependent classes.

SuperDocumentSuperElement
SuperHTMLCollectionSuperHTMLElement
SuperNodeSuperNodeList
SuperStyleSheetSuperText

Document Interfaces

DocumentDocumentFragment
HTMLDocumentXMLDocument
XPathEvaluator

Node Interfaces

CommentElement
NodeText

HTML Elements

HTMLAnchorElementHTMLAreaElement
HTMLAudioElementHTMLBRElement
HTMLBaseElementHTMLBodyElement
HTMLButtonElementHTMLCanvasElement
HTMLDListElementHTMLDataElement
HTMLDataListElementHTMLDetailsElement
HTMLDialogElementHTMLDivElement
HTMLElementHTMLEmbedElement
HTMLFieldSetElementHTMLFontElement
HTMLFormElementHTMLFrameSetElement
HTMLHRElementHTMLHeadElement
HTMLHeadingElementHTMLHtmlElement
HTMLIFrameElementHTMLImageElement
HTMLInputElementHTMLLIElement
HTMLLabelElementHTMLLegendElement
HTMLLinkElementHTMLMapElement
HTMLMarqueeElementHTMLMediaElement
HTMLMenuElementHTMLMetaElement
HTMLMeterElementHTMLModElement
HTMLOListElementHTMLObjectElement
HTMLOptGroupElementHTMLOptionElement
HTMLOutputElementHTMLParagraphElement
HTMLParamElementHTMLPictureElement
HTMLPreElementHTMLProgressElement
HTMLQuoteElementHTMLScriptElement
HTMLSelectElementHTMLSlotElement
HTMLSourceElementHTMLSpanElement
HTMLStyleElementHTMLTableCaptionElement
HTMLTableCellElementHTMLTableColElement
HTMLTableElementHTMLTableRowElement
HTMLTableSectionElementHTMLTemplateElement
HTMLTextAreaElementHTMLTimeElement
HTMLTitleElementHTMLTrackElement
HTMLUListElementHTMLUnknownElement
HTMLVideoElement

SVG Elements

SVGElementSVGGraphicsElement
SVGSVGElementSVGTitleElement

Array-like Interfaces

HTMLCollectionHTMLOptionsCollection
NodeListRadioNodeList

XPath Interfaces

XPathEvaluatorXPathEvaluatorBase
XPathExpressionXPathNSResolver
XPathResult

Miscellaneous Interfaces

AttrCharacterData
EventTargetRequest
ResponseStorage

Edit this page on GitHub