query_selector method
query_selector
Returns the first Element in document, which match selector
Returns
The matched node.
def query_selector(self, selector):
...
Parameter | Type | Description |
---|---|---|
selector | str | The selector. |
See Also
- module
aspose.html.dom
- class
Document