|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.selenium.client.EditorPreview
public class EditorPreview
Provides test support for accessing the editor preview and its contents.
Constructor Summary | |
---|---|
EditorPreview(ConfluenceSeleniumClient client,
Confluence confluence)
|
Method Summary | |
---|---|
String |
getPreviewContent()
Gets the html content in the preview. |
void |
waitForPreviewToContain(String jquerySelector)
Waits for the specified selector to match 1 or more items. |
void |
waitForPreviewToLoad()
Waits up to Editor.EDITOR_TIMEOUT_MILLIS ms for the preview to load. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorPreview(ConfluenceSeleniumClient client, Confluence confluence)
Method Detail |
---|
public void waitForPreviewToContain(String jquerySelector)
jquerySelector
- the jquery selector to apply in the preview iframe.public String getPreviewContent()
public void waitForPreviewToLoad()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |