Tries to capture the raw text string content from the specified element.
- element (Element)
- The element to capture the text from. The element must have the nativewindow capability.
The captured text string or null if the element does not support
the nativewindow capability.
| Exception | Condition |
|---|---|
| ArgumentNullException | If element is a null reference. |
| RanorexException | If capturing the raw text fails, e.g. due to security
restrictions. |
