Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.guard
Interface RequestGuard


public interface RequestGuard

Provides methods for checking and waiting for specific request type

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 RequestType clearRequestDone()
          Resets the type of last request to NONE
 RequestType getRequestDone()
          Returns the type of last request which was done
 void waitForRequest()
          Waits until the request type changes to other than NONE
 

Method Detail

getRequestDone

RequestType getRequestDone()
Returns the type of last request which was done

Returns:
the type of last request which was done

clearRequestDone

RequestType clearRequestDone()
Resets the type of last request to NONE

Returns:
the type of last request which was done before resetting

waitForRequest

void waitForRequest()
Waits until the request type changes to other than NONE


Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.