Skip to content

Commit

Permalink
add getters to private properties, re: zenstruck#148
Browse files Browse the repository at this point in the history
  • Loading branch information
tacman committed Jun 10, 2024
1 parent 33f2a0f commit 2770c47
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Browser/PantherBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 2770c47

Please sign in to comment.