소스 검색

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);