Check that an element inner text matches the provided value
Name | Description |
---|---|
Message | |
IndexTo | |
ByCSSSelector | CSS Selector of Element(s) to look for |
ByClassName | CSS class name of Element(s) to look for |
ByCSS | CSS expression (not CSS class name or CSS selector!) of Element(s) to look for |
ByTagName | HTML Tag of Element(s) to look for |
ById | ID of Element(s) to look for |
TakeVisibleOnly | If set to 'true' - only visible elements are included into 'take'. Default - false; |
Take | Index of the element if several elements match the condition - you may take specific element by index (starting from 0) Script execution fails if several elements match and take is not provided |
Negate | Invert test results. If you keep default value or set "false" to this parameter - tests fails if the element has different text value If you set "true" to this parameter - tests fails if the element has the provided value |
FromKey | Key to address previously stored Element |
ToKey | Key to store Element You may assign a string key to any Element to quick access to it However you will need to consider that the actual element may not exist due to changes in page It is recommended to get element every time you need it |
ByName | Name of Element(s) to look for |
ByPartialLinkText | Partial Text of Hyperlink(s) to look for |
To | Property name to store action result call |
ByLinkText | Text of Hyperlink(s) to look for |
ByXPATH | XPATH expression of Element(s) to look for |
TrimToCompare | by default all results are trimmed before any comparision you may prevent it by passing False to this parameter |