From b2d6589bbbb3361fb022b18ae755eb5c52043c7d Mon Sep 17 00:00:00 2001 From: Yves Hoppe Date: Sun, 24 Apr 2016 09:58:15 +0200 Subject: [PATCH] Fix for createMenuItem issue #107 --- src/JoomlaBrowser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 78bd996..719d153 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -810,6 +810,7 @@ public function createMenuItem($menuTitle, $menuCategory, $menuItem, $menu = 'Ma $I->debug("Open the menu types iframe"); $I->click(['link' => "Select"]); $I->waitForElement(['id' => 'menuTypeModal'], '60'); + $I->wait(1); $I->switchToIFrame("Menu Item Type"); $I->debug("Open the menu category: $menuCategory");