Răsfoiți Sursa

debug -again

Emmanuel Peroumalnaik 11 ani în urmă
părinte
comite
64ae437468
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      lib/Selenium/Remote/Mock/RemoteConnection.pm

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

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