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

ExtensionMethodsSetAttribute Method

Nastaví elementu atribut na zadanou hodnotu pomocí javascriptu

Namespace:  TescoSW.MW.UITests.Common
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntax
C#
public static IWebElement SetAttribute(
	this IWebElement element,
	string name,
	string value
)

Parameters

element
Type: IWebElement
Element, kterému se nastavuje hodnota
name
Type: SystemString
Název atributu
value
Type: SystemString
Nová hodnota atributu

Return Value

Type: IWebElement

[Missing <returns> documentation for "M:TescoSW.MW.UITests.Common.ExtensionMethods.SetAttribute(OpenQA.Selenium.IWebElement,System.String,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