From fc5505dced0b38ffa2493e24feaae0d2446181fc Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Fri, 27 Feb 2026 20:09:08 +0100 Subject: [PATCH] Make `PageInterface::waitForSelector` match implementation --- src/Page/PageInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Page/PageInterface.php b/src/Page/PageInterface.php index cd011a3..7eca992 100644 --- a/src/Page/PageInterface.php +++ b/src/Page/PageInterface.php @@ -135,7 +135,7 @@ public function evaluate(string $expression, mixed $arg = null): mixed; /** * @param array|WaitForSelectorOptions $options */ - public function waitForSelector(string $selector, array|WaitForSelectorOptions $options = []): ?LocatorInterface; + public function waitForSelector(string $selector, array|WaitForSelectorOptions $options = []): LocatorInterface; public function close(): void;