String serverUrl = System.getProperty( "serverUrl", "http://localhost:9090/" );
DefaultSelenium s = new DefaultSelenium( "localhost", seleniumPort, browser, serverUrl );
s.start( );
s.open( "index.html" );
s.type( "who", "foo" );
s.click( "send-btn" );
// wait a bit ajax response
Thread.sleep( 1000 );
String text = s.getText( "response" );
assertEquals( "Hello foo", text );