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;