public class NotificationElement extends TestBenchElement
<vaadin-notification>
element.Constructor and Description |
---|
NotificationElement() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.SearchContext |
getContext()
Returns this TestBenchElement cast to a SearchContext.
|
String |
getText() |
boolean |
isOpen()
Checks whether the notification is shown.
|
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
$, $
public boolean isOpen()
true
if the notification is shown,
false
otherwisepublic String getText()
getText
in interface org.openqa.selenium.WebElement
getText
in class TestBenchElement
public org.openqa.selenium.SearchContext getContext()
TestBenchElement
getContext
in interface HasSearchContext
getContext
in class TestBenchElement
SearchContext
instanceCopyright © 2019. All rights reserved.