diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index c21f4dc..397a4dc 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -420,7 +420,7 @@ class MinkContext extends RawMinkContext implements TranslatableContext */ public function printCurrentUrl() { - $this->printDebug($this->getSession()->getCurrentUrl()); + echo $this->getSession()->getCurrentUrl(); } /** @@ -430,7 +430,7 @@ class MinkContext extends RawMinkContext implements TranslatableContext */ public function printLastResponse() { - $this->printDebug( + echo ( $this->getSession()->getCurrentUrl()."\n\n". $this->getSession()->getPage()->getContent() );