sfBrowser simulates a browser which can surf a symfony application.
Method Summary
back , call , checkCurrentExceptionIsEmpty , clearCookies , click , deselect , doCall , doClick , doClickCssSelector , doClickElement , doSelect , fixUri , followRedirect , forward , get , getCurrentException , getRequest , getResponse , getResponseDom , getResponseDomCssSelector , getResponseDomXpath , getUser , initialize , newSession , parseArgumentAsArray , post , reload , removeCookie , resetCurrentException , restart , select , setAuth , setCookie , setCurrentException , setField , setHttpHeader , setVar , shutdown , __construct
Method Details
-
-
Calls a request to a uri.
-
(sfContext) getContext ($forceReload)
Browse code
| $forceReload |
true to force context reload, false otherwise |
Returns the current application context.
-
(sfWebRequest) getRequest ()
Browse code
Gets request.
-
(sfWebResponse) getResponse ()
Browse code
Gets response.
-
Gets user.
-
(void) listenToException ($event)
Browse code
| $event |
The event to handle |
Listener for exceptions
-
Shutdown function to clean up and remove sessions
|