Created
February 26, 2017 17:24
-
-
Save angelovstanton/315351b94c857ccc20872a15e74847f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class ShippingAddressPage | |
{ | |
public string Country | |
{ | |
get => new SelectElement(driver.FindElement(By.Name("enterAddressCountryCode"))).SelectedOption.Text; | |
set => new SelectElement(driver.FindElement(By.Name("enterAddressCountryCode"))).SelectByText(value); | |
} | |
public string FullName | |
{ | |
get => driver.FindElement(By.Id("enterAddressFullName")).Text; | |
set => driver.FindElement(By.Id("enterAddressFullName")).SendKeys(value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment