query_selector method

query_selector

Returns the first element that is a descendant of node that matches selectors.

Returns

Returns the first matched element.

def query_selector(self, selectors):
    ...
ParameterTypeDescription
selectorsstrThe selectors.

See Also