From 2770c4746653e2f99ef2119c32759ea4361443bb Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 10 Jun 2024 07:28:05 -0400 Subject: [PATCH] add getters to private properties, re: #148 --- src/Browser/PantherBrowser.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Browser/PantherBrowser.php b/src/Browser/PantherBrowser.php index 3b9919a..8010977 100644 --- a/src/Browser/PantherBrowser.php +++ b/src/Browser/PantherBrowser.php @@ -227,4 +227,24 @@ final public function rightClick(string $selector): self return $this; } + + public function getScreenshotDir(): ?string + { + return $this->screenshotDir; + } + + public function getConsoleLogDir(): ?string + { + return $this->consoleLogDir; + } + + public function getSavedScreenshots(): array + { + return $this->savedScreenshots; + } + + public function getSavedConsoleLogs(): array + { + return $this->savedConsoleLogs; + } }