There was an error while loading. Please reload this page.
2 parents 1b40c8e + 93f3b62 commit 7a04afaCopy full SHA for 7a04afa
src/Magento/FunctionalTestingFramework/Extension/ErrorLogger.php
@@ -50,7 +50,7 @@ public function logErrors($webDriver, $stepEvent)
50
//Types available should be "server", "browser", "driver". Only care about browser at the moment.
51
$browserLogEntries = $webDriver->manage()->getLog("browser");
52
foreach ($browserLogEntries as $entry) {
53
- if ($entry["source"] === "javascript") {
+ if (array_key_exists("source", $entry) && $entry["source"] === "javascript") {
54
$this->logError("javascript", $stepEvent, $entry);
55
}
56
0 commit comments