Add greater support for javascript calls.
Brought to you by:
jvmenen
Currently, the only way to make calls to javascript is through the fireEvent method and even that method doesn't allow you to provide event parameters such as keydown keyCodes or mousedown coordinates.
The IHTMLWindow2 object has a generic execScript function which would be handy to have exposed through the WatiN Core API.
Logged In: YES
user_id=799177
Originator: NO
This feature is implemented with SVN commit 409. DomContainer exposes a new method RunScript. Example:
ie.RunScript("javascript goes here");