}
}
private void waitForIcefaces(Long waitTime, Long timeout)
{
new Wait()
{
@Override
public boolean until()
{
return isElementPresent(ICEFACES_IDLE_VISIBLE);
}
}.wait("Timeout while waiting for icefaces idle state.", timeout);
try
{
Thread.sleep(icefacesWaitTime);
}
catch (InterruptedException e)
{
e.printStackTrace();
}
new Wait()
{
@Override
public boolean until()
{
return isElementPresent("xpath=//body");