From 9af2a5a6cab6a66624ff2707b5965c83751e99ff Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 6 Nov 2024 04:58:45 -0500 Subject: [PATCH] Fix `testGetPagesClose` --- tests/BrowsingTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/BrowsingTest.php b/tests/BrowsingTest.php index daaac81..76e94af 100644 --- a/tests/BrowsingTest.php +++ b/tests/BrowsingTest.php @@ -145,6 +145,8 @@ public function testGetPagesClose(): void $page->close(); + usleep(250000); + $finalCount = \count(self::$browser->getPages()); self::assertLessThan($initialCount, $finalCount);