try_x_path Method
Navigates to the specified XPath if it exists.
Syntax
def try_x_path(xpath: str) -> bool: ...
Remarks
This method will attempt to navigate to the specified XPath parameter if it exists within the document.
If the XPath exists the x_path property will be updated and this method returns True.
If the XPath does not exist the x_path property is not updated and this method returns False.