Click or drag to resize
Ranorex

AlertBoxFromElement Method

Converts an Element to an instance of this class.

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.Web (in Ranorex.Plugin.Web.dll) Version: 12.7.4-git.38314c06
Syntax
public static AlertBox FromElement(
	Element element
)

Parameters

element
Type: Ranorex.CoreElement
The element to convert.

Return Value

Type: AlertBox
The AlertBox.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf element is null.
CapabilityNotSupportedExceptionIf the element does not support the capabilities required by this adapter.
See Also