Skip to content

Commit 64ccc24

Browse files
authored
Merge branch 'develop' into locators
2 parents c96770f + ed91ce2 commit 64ccc24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/JoomlaBrowser.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,14 @@ public function doAdministratorLogin($user = null, $password = null, $useSnapsho
141141
$password = $this->config['password'];
142142
}
143143

144+
$this->debug('I open Joomla Administrator Login Page');
145+
$this->amOnPage($this->locator->adminLoginPageUrl);
146+
144147
if ($useSnapshot && $this->loadSessionSnapshot($user))
145148
{
146149
return;
147150
}
148151

149-
$this->debug('I open Joomla Administrator Login Page');
150-
$this->amOnPage($this->locator->adminLoginPageUrl);
151152
$this->waitForElement($this->locator->adminLoginUserName, TIMEOUT);
152153
$this->debug('Fill Username Text Field');
153154
$this->fillField($this->locator->adminLoginUserName, $user);

0 commit comments

Comments
 (0)