Skip to content

Commit b5afd92

Browse files
authored
Adjust logout locators (#213)
1 parent 5809b11 commit b5afd92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Locators/Locators.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ class Locators
5757
* @var array
5858
* @since 3.7.4.2
5959
*/
60-
public $frontEndLogoutButton = ['xpath' => "//div[@class='logout-button']//input[@value='Log out']"];
60+
public $frontEndLogoutButton = ['xpath' => "//div[contains(@class, 'logout-button')]//input[@value='Log out']"];
6161

6262
/**
6363
* Locator for the Login Button
6464
*
6565
* @var array
6666
* @since 3.7.4.2
6767
*/
68-
public $frontEndLoginForm = ['xpath' => "//div[@class='login']//button[contains(text(), 'Log in')]"];
68+
public $frontEndLoginForm = ['xpath' => "//div[contains(@class, 'login')]//button[contains(text(), 'Log in')]"];
6969

7070
/**
7171
* Locator for the Login Page Url

0 commit comments

Comments
 (0)