瀏覽代碼

Updated documentation

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.