Selaa lähdekoodia

Added more debug

Emmanuel Peroumalnaik 11 vuotta sitten
vanhempi
sitoutus
f36d235e55
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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);