Click or drag to resize

IDocument Methods

The IDocument type exposes the following members.

Methods
  NameDescription
Public methodClick
Simulates click on the current Node.
(Inherited from INode.)
Public methodCompareDocumentPosition
Compares position of the current node against another node in a DOM tree.
(Inherited from INode.)
Public methodCreateElement
Creates and returns a new DOM element with the specified tag name.
Public methodCreateEvent
Creates a DOM event instance of the specified type.
Public methodCreateKeyDownEvent
Creates and returns a new keyDownIKeyEvent object with the given
parameters
.
Public methodCreateKeyPressEvent
Creates and returns a new keyPressIKeyEvent object with the given
parameters
.
Public methodCreateKeyUpEvent
Creates and returns a new keyUpIKeyEvent object with the given
parameters
.
Public methodCreateMouseEvent
Creates and returns a new IMouseEvent object with the given
eventType
and
parameters
.
Public methodCreateTextNode
Returns a new Text DOM node with TextNode type.
Public methodDispatchEvent
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.)
Public methodEvaluate
Evaluates an XPath expression.
(Inherited from INode.)
Public methodGetElementByClassName
Finds the first IElement object in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementByCssSelector
Finds the first IElement object in the current search context by the given CSS selector.
(Inherited from ISearchContext.)
Public methodGetElementById
Finds the first IElement object in the current search context by the given id.
(Inherited from ISearchContext.)
Public methodGetElementByName
Finds the first IElement object in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementByTagName
Finds the first IElement object in the current search context by the given tag name.
(Inherited from ISearchContext.)
Public methodGetElementsByClassName
Finds all IElement objects in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementsByCssSelector
Finds all IElement objects in the current search context by the given cssSelector.
(Inherited from ISearchContext.)
Public methodGetElementsByName
Finds all IElement objects in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementsByTagName
Finds all IElement objects in the current search context by the given tag name.
(Inherited from ISearchContext.)
Top
See Also