浏览代码

Added more debug

Emmanuel Peroumalnaik 11 年之前
父节点
当前提交
f36d235e55
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/Selenium/Remote/Mock/RemoteConnection.pm

+ 2 - 0
lib/Selenium/Remote/Mock/RemoteConnection.pm

@@ -126,6 +126,8 @@ sub request {
     if ( $self->replay ) {
         my $resp;
         my $arr_of_resps = $self->session_store->{"$method $url $content"} // [];
+        use DDP; 
+        p "$method $url $content";
         if ( scalar(@$arr_of_resps) ) {
             $resp = shift @$arr_of_resps;
             $resp = HTTP::Response->parse($resp);