Search in sources :

Example 16 with AutoCompleteField

use of com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class TitleEditDialog method setLinkURL.

public void setLinkURL(String url) {
    AutoCompleteField autoCompleteField = new AutoCompleteField("css:" + linkUrl);
    autoCompleteField.sendKeys(url);
    $("button[is='coral-buttonlist-item'][value='" + url + "']").click();
}
Also used : AutoCompleteField(com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField)

Aggregations

AutoCompleteField (com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField)16 PropertiesPage (com.adobe.cq.testing.selenium.pageobject.cq.sites.PropertiesPage)2 PermissionsTab (com.adobe.cq.testing.selenium.pagewidgets.cq.tabs.PermissionsTab)2 ElementsCollection (com.codeborne.selenide.ElementsCollection)2 WebDriver (org.openqa.selenium.WebDriver)1 WebDriverWait (org.openqa.selenium.support.ui.WebDriverWait)1