Class RenderPageLoaded
java.lang.Object
org.alfresco.utility.web.renderer.RenderElement
org.alfresco.utility.web.renderer.RenderPageLoaded
- All Implemented Interfaces:
Renderer
Render one element using selenium's expectedCondition.
Just annotate your
PageObject with
{code}- Author:
- Paul.Brodner
-
Field Summary
Fields inherited from class org.alfresco.utility.web.renderer.RenderElement
renderAnnotation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondomEventCompleted(WebBrowser browser) Checks if page event action completed.protected voiddoWork(org.openqa.selenium.By locator, WebBrowser browser, long timeOutInSeconds) This will perform the actual action of rendering the elementvoidwaitForPageLoad(WebBrowser browser, long timeOutInSeconds) Wait document.readyState to return completed.Methods inherited from class org.alfresco.utility.web.renderer.RenderElement
buildFromFindBy, render, render
-
Constructor Details
-
RenderPageLoaded
public RenderPageLoaded()
-
-
Method Details
-
doWork
Description copied from class:RenderElementThis will perform the actual action of rendering the element- Specified by:
doWorkin classRenderElement
-
domEventCompleted
Checks if page event action completed. For further information see: {@link http://w3c.github.io/navigation-timing/}- Returns:
- String time took to complete event
-
waitForPageLoad
Wait document.readyState to return completed.- Parameters:
timeOutInSeconds- time duration
-