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

ExtensionMethodsHasAttribute Method

Zkontroluje, zda element obsahuje daný atribut

Namespace:  TescoSW.MW.UITests.Common
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 15.2.7099.36746
Syntax
C#
public static bool HasAttribute(
	this IWebElement el,
	string attributeName
)

Parameters

el
Type: IWebElement
Současný element
attributeName
Type: SystemString
Kontrolovaný atribut

Return Value

Type: Boolean

[Missing <returns> documentation for "M:TescoSW.MW.UITests.Common.ExtensionMethods.HasAttribute(OpenQA.Selenium.IWebElement,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWebElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also