watij.runtime
Interface BrowserController
public interface BrowserController
getTextField
TextField getTextField(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
release
void release()
getChildBrowser
BrowserController getChildBrowser(int i)
throws java.lang.Exception
- Throws:
java.lang.Exception
getChildBrowserCount
int getChildBrowserCount()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDeepChildBrowserCount
int getDeepChildBrowserCount()
throws java.lang.Exception
- Throws:
java.lang.Exception
closeBrowser
void closeBrowser()
throws java.lang.Exception
- Throws:
java.lang.Exception
setJavaScriptCloseEnabled
void setJavaScriptCloseEnabled(boolean javaScriptClose)
throws java.lang.Exception
- Throws:
java.lang.Exception
isJavaScriptCloseEnabled
boolean isJavaScriptCloseEnabled()
throws java.lang.Exception
- Throws:
java.lang.Exception
click
void click(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
dblClick
void dblClick(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
navigate
void navigate(java.lang.String url)
throws java.lang.Exception
- Throws:
java.lang.Exception
setText
void setText(org.w3c.dom.Element inputText,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
setTextArea
void setTextArea(org.w3c.dom.Element textArea,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
check
void check(org.w3c.dom.Element radioOrCheckbox,
boolean check)
throws java.lang.Exception
- Throws:
java.lang.Exception
select
void select(org.w3c.dom.Element option,
boolean select)
throws java.lang.Exception
- Throws:
java.lang.Exception
getHtml
java.lang.String getHtml()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDocument
org.w3c.dom.Document getDocument()
throws java.lang.Exception
- Throws:
java.lang.Exception
executeScript
java.lang.String executeScript(java.lang.String script)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendKeys
void sendKeys(java.lang.String title,
java.lang.String keys)
throws java.lang.Exception
- Throws:
java.lang.Exception
clickBlocking
void clickBlocking(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNativeElement
java.lang.Object getNativeElement(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception