Package ai.platon.pulsar.common.browser
Class WebsiteAccount
-
- All Implemented Interfaces:
public final class WebsiteAccountThe website account.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringdomainprivate final StringhomeURLprivate final StringloginLinkSelectorprivate final Stringusernameprivate final Stringpasswordprivate final StringusernameInputSelectorprivate final StringpasswordInputSelectorprivate final StringsubmitButtonSelectorprivate final StringredirectURLprivate final Stringemailprivate final Stringphoneprivate final Map<String, String>data
-
Constructor Summary
Constructors Constructor Description WebsiteAccount(String domain, String homeURL, String loginLinkSelector, String username, String password, String usernameInputSelector, String passwordInputSelector, String submitButtonSelector, String redirectURL, String email, String phone, Map<String, String> data)
-
Method Summary
Modifier and Type Method Description final StringgetDomain()the domain of the website. final StringgetHomeURL()final StringgetLoginLinkSelector()final StringgetUsername()the username of the account. final StringgetPassword()the password of the account. final StringgetUsernameInputSelector()the selector of the username input element. final StringgetPasswordInputSelector()the selector of the password input element. final StringgetSubmitButtonSelector()the selector of the submit button. final StringgetRedirectURL()the redirect URL after login. final StringgetEmail()the email of the account. final StringgetPhone()the phone number of the account. final Map<String, String>getData()the additional data of the account. -
-
Method Detail
-
getHomeURL
final String getHomeURL()
-
getLoginLinkSelector
final String getLoginLinkSelector()
-
getUsername
final String getUsername()
the username of the account.
-
getPassword
final String getPassword()
the password of the account.
-
getUsernameInputSelector
final String getUsernameInputSelector()
the selector of the username input element.
-
getPasswordInputSelector
final String getPasswordInputSelector()
the selector of the password input element.
-
getSubmitButtonSelector
final String getSubmitButtonSelector()
the selector of the submit button.
-
getRedirectURL
final String getRedirectURL()
the redirect URL after login.
-
-
-
-