From 58390e010b83d122267036ce697e7917a0c7a1c5 Mon Sep 17 00:00:00 2001 From: Jonathan Goode Date: Thu, 23 Apr 2020 22:56:59 +0100 Subject: [PATCH] Closes #623 - support navigating forward in the browser --- src/Browser.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Browser.php b/src/Browser.php index 5a0f2033c..a1584aff3 100644 --- a/src/Browser.php +++ b/src/Browser.php @@ -233,6 +233,18 @@ public function back() return $this; } + /** + * Navigate to the next page. + * + * @return $this + */ + public function forward() + { + $this->driver->navigate()->forward(); + + return $this; + } + /** * Maximize the browser window. *