public function __call($method, $arguments)
 {
     if (method_exists($this->selenium, $method)) {
         call_user_func_array(array($this->selenium, $method), $arguments);
         return $this->getObjectToReturn();
     } else {
         return parent::__call($method, $arguments);
     }
 }
 /**
  * Begins a block.
  *
  * @return sfTester This sfTester instance
  */
 public function begin($name = null)
 {
     if (null !== $name) {
         if (!isset($this->forms[$name])) {
             throw new LogicException(__METHOD__ . ": form with name `{$name}` not found");
         }
         $this->form = $this->forms[$name];
     }
     return parent::begin();
 }
 /**
  * Constructor.
  *
  * @param sfTestFunctionalBase $browser A browser
  * @param lime_test            $tester  A tester object
  */
 public function __construct(sfTestFunctionalBase $browser, $tester)
 {
     parent::__construct($browser, $tester);
     $this->browser->addListener('template.filter_parameters', array($this, 'filterTemplateParameters'));
 }