 | ExtensionMethodsWaitForElementClassOrClassModifierNotPresent Method (By, String, Int32, Boolean, String) |
Metoda ověřuje, zda "By" objekt neobsahuje danou třídu nebo modifikátor třídy
Namespace:
TescoSW.MW.UITests.Common
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntaxpublic static void WaitForElementClassOrClassModifierNotPresent(
this By element,
string classOrClassModifierName,
int interval = 8,
bool withThrow = false,
string message = null
)
Parameters
- element
- Type: By
"By" objekt - classOrClassModifierName
- Type: SystemString
název ověřované třídy (část názvu třídy před řeťezcem "--" ak se takovyý řetězec v názve třídy nachází)
nebo název modifikátoru třídy (část názvu třídy za řeťezcem "--") - interval (Optional)
- Type: SystemInt32
doba v sekundách po kterou se má čekat na předanou akci - withThrow (Optional)
- Type: SystemBoolean
v případě chyby se místo ukončení assertem vyhodí výjimka - message (Optional)
- Type: SystemString
[Missing <param name="message"/> documentation for "M:TescoSW.MW.UITests.Common.ExtensionMethods.WaitForElementClassOrClassModifierNotPresent(OpenQA.Selenium.By,System.String,System.Int32,System.Boolean,System.String)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
By. 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