瀏覽代碼

Fix issue with --port not being used

George S. Baugh 4 年之前
父節點
當前提交
176a143a1a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Playwright.pm

+ 1 - 1
lib/Playwright.pm

@@ -489,7 +489,7 @@ sub _start_server ( $port, $timeout, $debug ) {
         return $pid;
     }
 
-    exec( $node_bin, $server_bin, "-p", $port, $debug );
+    exec( $node_bin, $server_bin, "--port", $port, $debug );
 }
 
 1;