Skip to content

Commit

Permalink
Merge pull request #7 from Codeception/1.x
Browse files Browse the repository at this point in the history
1.x
  • Loading branch information
Naktibalda authored Nov 27, 2023
2 parents f488ff9 + e493a22 commit 4c02cf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Lib/Interfaces/Web.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,15 +577,15 @@ public function dontSeeInFormFields($formSelector, array $params): void;
*
* ``` php
* <?php
* $I->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
* <?php
* $I->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;
Expand Down

0 comments on commit 4c02cf5

Please sign in to comment.