ElementIsFrame Method (Boolean, Boolean)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Gets whether this element represents an iframe or frame

Namespace:  ArtOfTest.WebAii.ObjectModel
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public FrameInfo IsFrame(
	bool makeAbsolute,
	bool stripFinalBrowserSegment = false
)

Parameters

makeAbsolute
Type: SystemBoolean
Whether to force the FrameInfo's Src to be an absolute URI
stripFinalBrowserSegment (Optional)
Type: SystemBoolean
When used in conjunction with makeAbsolute, this will strip the final path segment from the owning browser's URL before concatenating the frame's src.

Return Value

Type: FrameInfo
Return the FrameInfo of the frame if is a frame, else will return null
See Also

Reference