Переглянути джерело

Add $method to debug statements

Daniel Gempesaw 11 роки тому
батько
коміт
c99dc710a7
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      lib/Selenium/Remote/RemoteConnection.pm

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

@@ -84,7 +84,7 @@ sub request {
         $content = $json->allow_nonref->utf8->encode($params);
     }
 
-    print "REQ: $url, $content\n" if $self->debug;
+    print "REQ: $method, $url, $content\n" if $self->debug || 1;
 
     # HTTP request
     my $header =