diff --git a/src/Lib/Interfaces/Web.php b/src/Lib/Interfaces/Web.php index a4cd051..4d397b2 100644 --- a/src/Lib/Interfaces/Web.php +++ b/src/Lib/Interfaces/Web.php @@ -577,15 +577,15 @@ public function dontSeeInFormFields($formSelector, array $params): void; * * ``` php * selectOption('Which OS do you use?', array('Windows','Linux')); + * $I->selectOption('Which OS do you use?', ['Windows', 'Linux']); * ``` * * Or provide an associative array for the second argument to specifically define which selection method should be used: * * ``` php * selectOption('Which OS do you use?', array('text' => 'Windows')); // Only search by text 'Windows' - * $I->selectOption('Which OS do you use?', array('value' => 'windows')); // Only search by value 'windows' + * $I->selectOption('Which OS do you use?', ['text' => 'Windows']); // Only search by text 'Windows' + * $I->selectOption('Which OS do you use?', ['value' => 'windows']); // Only search by value 'windows' * ``` */ public function selectOption($select, $option): void;