
## observe {#aspose.html.dom.Node}

Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).
The options argument allows for setting mutation observation options via object members.



```python
def observe(self, target):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| target | [`Node`](/html/python-net/aspose.html.dom/node) | The target for observe. |


## observe {#aspose.html.dom.Node-aspose.html.dom.mutations.MutationObserverInit}

Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).
The options argument allows for setting mutation observation options via object members.



```python
def observe(self, target, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| target | [`Node`](/html/python-net/aspose.html.dom/node) | The target for observe. |
| options | [`MutationObserverInit`](/html/python-net/aspose.html.dom.mutations/mutationobserverinit) | The observer options. |



### See Also
* module [`aspose.html.dom.mutations`](../../)
* class [`MutationObserver`](/html/python-net/aspose.html.dom.mutations/mutationobserver)
