Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Util/Locator.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Locator
*
* ```php
* <?php
* use \Codeception\Util\Locator;
* use Codeception\Util\Locator;
*
* $I->see('Title', Locator::combine('h1','h2','h3'));
* ```
Expand All @@ -48,7 +48,7 @@ class Locator
*
* ```php
* <?php
* use \Codeception\Util\Locator;
* use Codeception\Util\Locator;
*
* $I->fillField(Locator::combine('form input[type=text]','//form/textarea[2]'), 'qwerty');
* ```
Expand All @@ -75,7 +75,7 @@ public static function combine(string $selector1, string $selector2): string
*
* ```php
* <?php
* use \Codeception\Util\Locator;
* use Codeception\Util\Locator;
*
* $I->see('Log In', Locator::href('/login.php'));
* ```
Expand All @@ -93,7 +93,7 @@ public static function href(string $url): string
* You could try to match elements by their tab position using `tabIndex` method of `Locator` class.
* ```php
* <?php
* use \Codeception\Util\Locator;
* use Codeception\Util\Locator;
*
* $I->fillField(Locator::tabIndex(1), 'davert');
* $I->fillField(Locator::tabIndex(2) , 'qwerty');
Expand Down Expand Up @@ -138,7 +138,7 @@ protected static function toXPath(string $selector): ?string
*
* ```php
* <?php
* use \Codeception\Util\Locator;
* use Codeception\Util\Locator;
*
* $I->seeElement(Locator::find('img', ['title' => 'diagram']));
* ```
Expand Down