
## query_selector {#str}

Returns the first Element in document, which match selector


### Returns 


The matched node.


```python
def query_selector(self, selector):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| selector | str | The selector. |



### See Also
* module [`aspose.svg.dom`](../../)
* class [`Document`](/svg/python-net/aspose.svg.dom/document)
