|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.editor.wysiwyg.RichTextAreaElement
public class RichTextAreaElement
Models the rich text area of the WYSIWYG content editor.
| Constructor Summary | |
|---|---|
RichTextAreaElement(org.openqa.selenium.WebElement iframe)
Creates a new rich text area element. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the content of the rich text area. |
void |
click()
Clicks on the rich text area. |
Object |
executeScript(String script,
Object... arguments)
Executes the given script in the context of the rich text area. |
String |
getContent()
|
String |
getText()
|
void |
sendKeys(CharSequence... keysToSend)
Simulate typing in the rich text area. |
void |
setContent(String content)
Sets the HTML content of the rich text area |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RichTextAreaElement(org.openqa.selenium.WebElement iframe)
iframe - the in-line frame used by the rich text area| Method Detail |
|---|
public String getText()
public void clear()
public void click()
public void sendKeys(CharSequence... keysToSend)
keysToSend - the sequence of keys to by typed
public Object executeScript(String script,
Object... arguments)
script - the script to be executedarguments - the script arguments
JavascriptExecutor.executeScript(String, Object...)public String getContent()
public void setContent(String content)
content - the new HTML content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||