Constructs an adapter of a specific type for a given element.
The adapter instance.
| Exception | Condition |
|---|---|
| ArgumentNullException | If element is null. |
| CapabilityNotSupportedException | If the element does not support the
capabilities required by this adapter. |
| RanorexCoreException | Thrown if the adapterType does not inherit from Adapter. |
| RanorexException | If generating the adapter fails for another reason. |
