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