浏览代码

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 =