From 4ad9b85e7af644277cd54513644c974960884b76 Mon Sep 17 00:00:00 2001 From: "tan.nguyen" Date: Thu, 28 Dec 2023 12:37:31 +0700 Subject: [PATCH] Revert evaluateScript. --- src/WysiwygTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WysiwygTrait.php b/src/WysiwygTrait.php index ea3b61fd..daf64604 100644 --- a/src/WysiwygTrait.php +++ b/src/WysiwygTrait.php @@ -34,7 +34,7 @@ public function wysiwygFillField(string $field, string $value): void { $driver = $this->getSession()->getDriver(); try { - $driver->evaluateScript(TRUE); + $driver->evaluateScript('true'); } catch (UnsupportedDriverActionException $exception) { // For non-JS drivers process field in a standard way.