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 bd2eee2 commit ec9c4d3Copy full SHA for ec9c4d3
src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php
@@ -199,7 +199,11 @@ public function beforeStep(\Codeception\Event\StepEvent $e)
199
*/
200
public function afterStep(\Codeception\Event\StepEvent $e)
201
{
202
- $browserLog = $this->getDriver()->webDriver->manage()->getLog("browser");
+ $browserLog = [];
203
+ try {
204
+ $browserLog = $this->getDriver()->webDriver->manage()->getLog("browser");
205
+ } catch (\Exception $exception) {
206
+ }
207
if (getenv('ENABLE_BROWSER_LOG') === 'true') {
208
foreach (explode(',', getenv('BROWSER_LOG_BLOCKLIST')) as $source) {
209
$browserLog = BrowserLogUtil::filterLogsOfType($browserLog, $source);
0 commit comments