We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf2143 commit f8b594eCopy full SHA for f8b594e
src/Magento/FunctionalTestingFramework/Extension/PageReadinessExtension.php
@@ -187,7 +187,11 @@ function () use ($metrics) {
187
private function checkForNewPage($step)
188
{
189
try {
190
- $currentUri = $this->getDriver()->_getCurrentUri();
+ if (isset($this->getDriver())) {
191
+ $currentUri = $this->getDriver()->_getCurrentUri();
192
+ } else {
193
+ throw new \Exception();
194
+ }
195
196
if ($this->uri !== $currentUri) {
197
$this->logDebug(
0 commit comments