Skip to content

Commit 04b78ca

Browse files
committed
added password decoder util
1 parent 59a5ff3 commit 04b78ca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/com/testnepal/pages/OrangeHRMLoginPage.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import org.openqa.selenium.By;
44

55
import com.testnepal.enums.WaitStrategy;
6+
import com.testnepal.utils.DecodeUtils;
67

78
public final class OrangeHRMLoginPage extends BasePage {
89

@@ -15,8 +16,8 @@ public OrangeHRMLoginPage enterUsername(String username) {
1516
return this;
1617
}
1718

18-
public OrangeHRMLoginPage enterPassword(String pwd) {
19-
doInput(textboxPassword, pwd, WaitStrategy.PRESENCE, "Password");
19+
public OrangeHRMLoginPage enterPassword(String password) {
20+
doInput(textboxPassword, DecodeUtils.getDecodedString(password), WaitStrategy.PRESENCE, "Password");
2021
return this;
2122
}
2223

56 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy