Package com.vaadin.testbench
Interface HasCallFunction
- All Superinterfaces:
org.openqa.selenium.SearchContext
,org.openqa.selenium.TakesScreenshot
,org.openqa.selenium.WebElement
- All Known Implementing Classes:
AccordionElement
,AccordionPanelElement
,AnchorElement
,AppLayoutElement
,AvatarElement
,AvatarGroupElement
,BigDecimalFieldElement
,BoardElement
,ButtonElement
,ChartElement
,CheckboxElement
,CheckboxGroupElement
,ComboBoxElement
,ConfirmDialogElement
,ContextMenuElement
,CookieConsentElement
,CrudElement
,CustomFieldElement
,DatePickerElement
,DatePickerElement.MonthCalendarElement
,DatePickerElement.OverlayContentElement
,DatePickerElement.WeekdayElement
,DateTimePickerElement
,DescriptionListElement
,DetailsElement
,DialogElement
,DivElement
,DrawerToggleElement
,EmailFieldElement
,EmphasisElement
,FormLayoutElement
,GridElement
,GridProElement
,GridTHTDElement
,GridTHTDElement
,GridTRElement
,GridTRElement
,H1Element
,H2Element
,H3Element
,H4Element
,H5Element
,H6Element
,HorizontalLayoutElement
,HrElement
,IconElement
,ImageElement
,InputTextElement
,IntegerFieldElement
,LabelElement
,ListBoxElement
,ListItemElement
,LoginFormElement
,LoginOverlayElement
,MenuBarElement
,MessageElement
,MessageInputElement
,MessageListElement
,MultiSelectComboBoxElement
,NativeButtonElement
,NativeDetailsElement
,NativeLabelElement
,NotificationElement
,NumberFieldElement
,OrderedListElement
,ParagraphElement
,PasswordFieldElement
,PreElement
,ProgressBarElement
,RadioButtonElement
,RadioButtonGroupElement
,RangeInputElement
,RichTextEditorElement
,RowElement
,ScrollerElement
,SelectElement
,SelectElement
,SelectElement.ItemElement
,SideNavElement
,SideNavItemElement
,SpanElement
,SplitLayoutElement
,TabElement
,TabsElement
,TabSheetElement
,TestBenchElement
,TextAreaElement
,TextFieldElement
,TimePickerElement
,TimePickerElement.TimePickerComboBoxElement
,TimePickerElement.TimePickerOverlayElement
,TreeGridElement
,UnorderedListElement
,UploadElement
,VerticalLayoutElement
,VirtualListElement
public interface HasCallFunction
extends org.openqa.selenium.WebElement
-
Method Summary
Modifier and TypeMethodDescriptioncallFunction
(String methodName, Object... args) Invoke the given method on this element using the given arguments as arguments to the method.Methods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAs
Methods inherited from interface org.openqa.selenium.WebElement
clear, click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
-
Method Details
-
callFunction
Invoke the given method on this element using the given arguments as arguments to the method.- Parameters:
methodName
- the method to invokeargs
- the arguments to pass to the method- Returns:
- the value returned by the method
-