Explorar el Código

Gives better error message on command setting error

Yves Lavoie hace 7 años
padre
commit
8713f76689
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Selenium/Remote/Driver.pm

+ 1 - 1
lib/Selenium/Remote/Driver.pm

@@ -844,7 +844,7 @@ sub _execute_command {
         return $self->commands->parse_response($res,$resp);
     }
     else {
-        croak "Couldn't retrieve command settings properly\n";
+        croak "Couldn't retrieve command settings properly ".$res->{command}."\n";
     }
 }