From 3a11c273ef68c9adce8cea4dd825b21a4b655c90 Mon Sep 17 00:00:00 2001 From: Sid Roberts Date: Fri, 12 Dec 2025 04:21:15 +0100 Subject: [PATCH] Fix use statement --- src/Util/Locator.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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'])); * ```