We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5809b11 commit b5afd92Copy full SHA for b5afd92
src/Locators/Locators.php
@@ -57,15 +57,15 @@ class Locators
57
* @var array
58
* @since 3.7.4.2
59
*/
60
- public $frontEndLogoutButton = ['xpath' => "//div[@class='logout-button']//input[@value='Log out']"];
+ public $frontEndLogoutButton = ['xpath' => "//div[contains(@class, 'logout-button')]//input[@value='Log out']"];
61
62
/**
63
* Locator for the Login Button
64
*
65
66
67
68
- public $frontEndLoginForm = ['xpath' => "//div[@class='login']//button[contains(text(), 'Log in')]"];
+ public $frontEndLoginForm = ['xpath' => "//div[contains(@class, 'login')]//button[contains(text(), 'Log in')]"];
69
70
71
* Locator for the Login Page Url
0 commit comments