Class N2oToolbar
- All Implemented Interfaces:
ComponentsCollection,Toolbar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Button>
TВозвращает найденную по индексу кнопку заданного типаbutton(com.codeborne.selenide.WebElementCondition findBy) Возвращает стандартную кнопку по условию<T extends Button>
TВозвращает найденную по условию кнопкуВозвращает стандартную кнопку по метке<T extends Button>
TВозвращает найденную по метке кнопкуdropdown()Возвращает первую найденную кнопку с выпадающим спискомdropdown(com.codeborne.selenide.WebElementCondition findBy) Возвращает найденную по условию кнопку с выпадающим спискомMethods inherited from class net.n2oapp.framework.autotest.impl.collection.N2oComponentsCollection
elements, setElements, shouldBeEmpty, shouldHaveSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.n2oapp.framework.autotest.api.collection.ComponentsCollection
elements, setElements, shouldBeEmpty, shouldHaveSize
-
Constructor Details
-
N2oToolbar
public N2oToolbar()
-
-
Method Details
-
button
Description copied from interface:ToolbarВозвращает стандартную кнопку по метке
For example:
topLeft().button("Кнопка") -
button
Description copied from interface:ToolbarВозвращает стандартную кнопку по условию
For example:
topLeft().button("Кнопка") -
dropdown
Description copied from interface:ToolbarВозвращает первую найденную кнопку с выпадающим списком
For example:
toolbar.dropdown() -
dropdown
Description copied from interface:ToolbarВозвращает найденную по условию кнопку с выпадающим списком
For example:
toolbar.dropdown(Condition.text("Кнопка")) -
button
Description copied from interface:ToolbarВозвращает найденную по индексу кнопку заданного типа
For example:
toolbar.button(2, StandardButton.class) -
button
Description copied from interface:ToolbarВозвращает найденную по метке кнопку
For example:
toolbar.button("Кнопка", StandardButton.class) -
button
public <T extends Button> T button(com.codeborne.selenide.WebElementCondition findBy, Class<T> componentClass) Description copied from interface:ToolbarВозвращает найденную по условию кнопку
For example:
toolbar.button(Condition.text("Кнопка"), StandardButton.class)
-