Click or drag to resize
Tesco SW, a.s.

BaseElementFindElement Method

Finds the first IWebElement using the given method.

Namespace:  TescoSW.MW.UITests.Common.PageModel.Components
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 15.2.7099.36746
Syntax
C#
public IWebElement FindElement(
	By by
)

Parameters

by
Type: By
The locating mechanism to use.

Return Value

Type: IWebElement
The first matching IWebElement on the current context.

Implements

ISearchContext.FindElement(By)
Exceptions
ExceptionCondition
NoSuchElementExceptionIf no element matches the criteria.
See Also