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