コード例 #1
0
 public function __call($command, $arguments)
 {
     if ($command == 'waitForElementPresent' || $command == 'waitForElementNotPresent') {
         if (count($arguments) == 1) {
             $arguments[] = $this->seleniumTimeout * 1000;
         }
         $this->doCommand($command, $arguments);
     } else {
         return parent::__call($command, $arguments);
     }
 }