com.vaadin.flow.component.card.testbench.
Class CardElement
All Implemented Interfaces:
CanCompareScreenshots
, HasCallFunction
, HasDriver
, HasElementQuery
, HasPropertySettersGetters
, HasSearchContext
, HasTestBenchCommandExecutor
, org.openqa.selenium.SearchContext
, org.openqa.selenium.TakesScreenshot
, org.openqa.selenium.WebElement
, org.openqa.selenium.WrapsElement
A TestBench element representing a <vaadin-card>
element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the content elements.
Gets the elements in the footer slot.
Gets the element in the header slot.
Gets the element in the header prefix slot.
Gets the element in the header suffix slot.
getMedia()
Gets the element in the media slot.
Gets the title property value.
Gets the element in the subtitle slot.
getTitle()
Gets the element in the title slot.
Methods inherited from class com.vaadin.testbench.TestBenchElement
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDomAttribute, getDomProperty, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.testbench.HasElementQuery
$, $
Methods inherited from interface org.openqa.selenium.WebElement
getAccessibleName, getAriaRole, getShadowRoot
-
Constructor Details
-
CardElement
public CardElement()
-
-
Method Details
-
getContents
Gets the content elements.
Returns:
the content elements
-
getTitle
Gets the element in the title slot.
Returns:
the title element, or
null
if not found -
getStringTitle
Gets the title property value.
Returns:
title property value
-
getSubtitle
Gets the element in the subtitle slot.
Returns:
the subtitle element, or
null
if not found -
getMedia
Gets the element in the media slot.
Returns:
the media element, or
null
if not found -
getHeader
Gets the element in the header slot.
Returns:
the title element, or
null
if not found -
getHeaderPrefix
Gets the element in the header prefix slot.
Returns:
the header prefix element, or
null
if not found -
getHeaderSuffix
Gets the element in the header suffix slot.
Returns:
the header suffix element, or
null
if not found
-