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

MenuItemWithCloseClick Method

Clicks this element.

Namespace:  TescoSW.MW.UITests.Common.PageModel.Components.Menus
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntax
C#
public override void Click()

Implements

IWebElement.Click
Exceptions
ExceptionCondition
ElementNotVisibleExceptionThrown when the target element is not visible.
StaleElementReferenceExceptionThrown when the target element is no longer valid in the document DOM.
Remarks

Click this element. If the click causes a new page to load, the Click method will attempt to block until the page has loaded. After calling the Click method, you should discard all references to this element unless you know that the element and the page will still be present. Otherwise, any further operations performed on this element will have an undefined. behavior.

If this element is not clickable, then this operation is ignored. This allows you to simulate a users to accidentally missing the target when clicking.

See Also