Emmanuel Peroumalnaik преди 11 години
родител
ревизия
6c9feadd41
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lib/Selenium/Remote/Mock/RemoteConnection.pm

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

@@ -231,7 +231,7 @@ mock responses to specific functions
     $driver->quit;
 
     # dump the session to a file
-    $mock_connection->dump_session_store( 'my_record.json', $session_id );
+    $mock_connection->dump_session_store( 'my_record.json' );
 
 
 This code, above doing some basic Selenium interactions, will end up generating a JSON file containing all the requests and their responses for your Selenium session.