diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 56b2324..f8f7925 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -63,7 +63,7 @@ public function doFrontEndLogin() $this->debug('I click Login button'); $I->click(['xpath' => "//div[@class='login']/form/fieldset/div[4]/div/button"]); $this->debug('I wait to see Frontend Member Profile Form'); - $I->waitForElement(['xpath' => "//form[@id='member-profile']"], 10); + $I->waitForElement(['xpath' => "//input[@value='Log out']"], 10); } /**