Parcourir la source

Added more debug

Emmanuel Peroumalnaik il y a 11 ans
Parent
commit
f36d235e55
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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);