diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 46570cb..ed7a547 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -702,6 +702,11 @@ public function clickToolbarButton($button) $I = $this; $input = strtolower($button); + $screenSize = explode("x",$this->config['window_size']); + if($screenSize[0] <= 480) + { + $I->click('Toolbar'); + } switch($input) { case "new":