Browser.execute

Execute the specified script.

<p> Execute a script containing javascript commands in the context of the current document.

@param script the script with javascript commands

@return <code>true</code> if the operation was successful and <code>false</code> otherwise

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the script is null</li> </ul>

@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> </ul>

@since 3.1

class Browser
bool
execute
(
String script
)

Meta