We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dump()
dd()
1 parent 1bdefcf commit 6a19c4cCopy full SHA for 6a19c4c
src/Browser.php
@@ -742,7 +742,23 @@ public function tap($callback)
742
*/
743
public function dump()
744
{
745
- dd($this->driver->getPageSource());
+ dump($this->driver->getPageSource());
746
+
747
+ return $this;
748
+ }
749
750
+ /**
751
+ * Dump and die the content from the last response.
752
+ *
753
+ * @return void
754
+ */
755
+ public function dd()
756
+ {
757
758
759
+ $this->quit();
760
761
+ exit;
762
}
763
764
/**
0 commit comments