Skip to content

Commit 61d7564

Browse files
committed
Merge pull request #99 from puneet0191/RESOLUTION_NEW
Screen Resolution Fix, Based on Config Parameter from Acceptance Suite File
2 parents b44a192 + 0b7f1a2 commit 61d7564

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/JoomlaBrowser.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,11 @@ public function clickToolbarButton($button)
702702
$I = $this;
703703
$input = strtolower($button);
704704

705+
$screenSize = explode("x",$this->config['window_size']);
706+
if($screenSize[0] <= 480)
707+
{
708+
$I->click('Toolbar');
709+
}
705710
switch($input)
706711
{
707712
case "new":

0 commit comments

Comments
 (0)