Update web element of the LinkedIn login page (#25905)

Signed-off-by: Tomas Ondrusko <tondrusk@redhat.com>
This commit is contained in:
Tomas Ondrusko 2024-01-08 11:32:45 +01:00 committed by GitHub
parent 5c86abbc32
commit e4fa5c034a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ public class LinkedInLoginPage extends AbstractSocialLoginPage {
@FindBy(id = "password")
private WebElement passwordInput;
@FindBy(xpath = "//button[text() = 'Sign in']")
@FindBy(xpath = "//button[(@type='submit') and (@aria-label='Sign in')]")
private WebElement loginButton;
@FindBy(name = "action")