getOuterHtmlSourceofElement (Exception Handling)
Compatible with:
- Purpose
-
This command is used to get the outerHTML of the element locator.
- Syntax
- getOuterHtmlSourceofElement(Locator, VariableName)
- Target
- element locator
- Value
- VariableName
- Return Value
- The HTML of the element including the opening and closing tags also.