diff --git a/src/Util/Locator.php b/src/Util/Locator.php index 7e32e25..9234747 100644 --- a/src/Util/Locator.php +++ b/src/Util/Locator.php @@ -38,7 +38,7 @@ class Locator * * ```php * see('Title', Locator::combine('h1','h2','h3')); * ``` @@ -48,7 +48,7 @@ class Locator * * ```php * fillField(Locator::combine('form input[type=text]','//form/textarea[2]'), 'qwerty'); * ``` @@ -75,7 +75,7 @@ public static function combine(string $selector1, string $selector2): string * * ```php * see('Log In', Locator::href('/login.php')); * ``` @@ -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 * fillField(Locator::tabIndex(1), 'davert'); * $I->fillField(Locator::tabIndex(2) , 'qwerty'); @@ -138,7 +138,7 @@ protected static function toXPath(string $selector): ?string * * ```php * seeElement(Locator::find('img', ['title' => 'diagram'])); * ```