From a72fe05e6784957ea8cf7d89c401ba88fb6a20ad Mon Sep 17 00:00:00 2001 From: SVICER <svicer@2819831.no-reply.drupal.org> Date: Mon, 11 Oct 2021 11:35:45 +0000 Subject: [PATCH] fix: add cookiePath to allowed values --- src/Generator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Generator.php b/src/Generator.php index fcecd01..2a1e879 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -48,6 +48,7 @@ class Generator { $allowed[] = 'ci'; $allowed[] = 'report'; $allowed[] = 'cookiePath'; + $allowed[] = 'onBeforeScript'; $filtered = array_filter( $options, function ($key) use ($allowed) { @@ -108,6 +109,7 @@ class Generator { 'postInteractionWait', 'scrollToSelector', 'requireSameDimensions', + 'cookiePath' ]; $filtered = array_filter( $options, -- GitLab