Constructs an adapter of a specific type for a given element.
- element (Element)
- The element associated with the adapter.
The adapter instance.
| Exception | Condition |
|---|---|
| ArgumentNullException | If element is null. |
| CapabilityNotSupportedException | If the element does not support the
capabilities required by this adapter. |
| RanorexException | If generating the adapter fails for another reason. |
