Skip to content

Commit

Permalink
Revert evaluateScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannguyen04 committed Dec 28, 2023
1 parent a92b539 commit 4ad9b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WysiwygTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4ad9b85

Please sign in to comment.