From 3d566bd5eae9e092db0c62840a7d60970ebc326f Mon Sep 17 00:00:00 2001 From: *Kim Zick Date: Thu, 2 Jan 2020 13:00:12 -0500 Subject: [PATCH] Make Nightmare.action() return match doc header --- lib/nightmare.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nightmare.js b/lib/nightmare.js index d4d02ab9..2e1062e3 100644 --- a/lib/nightmare.js +++ b/lib/nightmare.js @@ -633,6 +633,8 @@ Nightmare.action = function() { } } } + + return Nightmare; } /**