public class AemClassicAuthorHelper extends Object
| Constructor and Description |
|---|
AemClassicAuthorHelper() |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
getComponentScope(Components component)
Used to obtain component's scope (WebElement) by its name.
|
org.openqa.selenium.WebElement |
getComponentScope(String parsysName,
Components component)
Used to obtain component's scope (WebElement) by its name and the name of the parent parsys.
|
AemDialog |
getDialog(Components component)
Returns AemDialog PageObject related to the specified component.
|
AemDialog |
getDialog(String parsysName,
Components component)
Returns AemDialog PageObject related to the specified component.
|
AemDialog |
getDialog(String parsysName,
Components component,
int index)
Returns AemDialog PageObject related to the n-th specified component.
|
org.openqa.selenium.WebElement |
getNthComponentScope(String parsysName,
Components component,
int index)
Used to obtain n-th (index) component's scope (WebElement) by its name and the name of the parent parsys.
|
AemParsys |
getParsys(String parsysName)
Returns AemParsys PageObject based on the provided name.
|
org.openqa.selenium.WebElement |
getParsysScope(String parsysName)
Used to obtain parsys' scope (WebElement) by its name.
|
public org.openqa.selenium.WebElement getComponentScope(String parsysName, Components component)
parsysName - parent parsys that component is located incomponent - enum class implementing Components interfacepublic org.openqa.selenium.WebElement getNthComponentScope(String parsysName, Components component, int index)
parsysName - parent parsys that component is located incomponent - enum class implementing Components interfaceindex - zero-based index of the component inside the parsyspublic org.openqa.selenium.WebElement getComponentScope(Components component)
component - enum class implementing Components interfacepublic org.openqa.selenium.WebElement getParsysScope(String parsysName)
parsysName - name of the parsyspublic AemParsys getParsys(String parsysName)
parsysName - name of the requested parsysAemParsyspublic AemDialog getDialog(String parsysName, Components component)
parsysName - parent parsys of the componentcomponent - enum class implementing Components interfaceAemDialogpublic AemDialog getDialog(String parsysName, Components component, int index)
parsysName - parent parsys of the componentcomponent - enum class implementing Components interfaceindex - zero-based index of the component inside the parsysAemDialogpublic AemDialog getDialog(Components component)
component - enum class implementing Components interfaceAemDialogCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.