Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class LoginSection
- {
- private readonly IWebDriver _driver;
- public LoginSection(IWebDriver browser)
- {
- _driver = browser;
- }
- public void Login(string email, string password)
- {
- Email.SendKeys(email);
- Password.SendKeys(password);
- LoginButton.Click();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement