I modified tests/system/Main.java to use the WIP DEBUGGING protocol as
it's currently hard coded to use SHELL. Loading testwebsite/main.html
in Chrome then running Main.java worked and printed "Test passed OK".
I'd like to programmatically navigate to a URL and listen to network
events. Is this possible using the current WIP API?
I found the Java code for Page.open in OpenParams.java. How do I use
OpenParams from tests/system/Main.java?
The following works, although it isn't pretty. I had to modify the
visibility of getCommandProcessor and send. What's the proper way to
accomplish command sending?
WipTabImpl tab = (WipTabImpl)
firstTab.attach(stateManager.getTabListener());
WipCommandProcessor cmds = tab.getCommandProcessor();
cmds.send(new OpenParams("http://www.google.com/", false), null, null);