Documentation ¶
Index ¶
- type AccessoriesPage
- type AccountPage
- type CategoryPage
- type CheckoutPage
- type HomePage
- type MenPage
- type Page
- func (s *Page) FindElementByClass(locator string) selenium.WebElement
- func (s *Page) FindElementByCss(locator string) selenium.WebElement
- func (s *Page) FindElementById(locator string) selenium.WebElement
- func (s *Page) FindElementByLinkText(locator string) selenium.WebElement
- func (s *Page) FindElementByName(locator string) selenium.WebElement
- func (s *Page) FindElementByPartialLink(locator string) selenium.WebElement
- func (s *Page) FindElementByTag(locator string) selenium.WebElement
- func (s *Page) FindElementByXpath(locator string) selenium.WebElement
- func (s *Page) FindElementsByClass(locator string) []selenium.WebElement
- func (s *Page) FindElementsByCss(locator string) []selenium.WebElement
- func (s *Page) FindElementsById(locator string) []selenium.WebElement
- func (s *Page) FindElementsByLinkText(locator string) []selenium.WebElement
- func (s *Page) FindElementsByName(locator string) []selenium.WebElement
- func (s *Page) FindElementsByPartialLink(locator string) []selenium.WebElement
- func (s *Page) FindElementsByTag(locator string) []selenium.WebElement
- func (s *Page) FindElementsByXpath(locator string) []selenium.WebElement
- func (s *Page) MouseHoverToElement(locator string) selenium.WebElement
- type ProductPage
- type RegisterPage
- type SalePage
- type WomenPage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessoriesPage ¶
type AccessoriesPage struct {
Page Page
}
type AccountPage ¶
type AccountPage struct {
Page Page
}
func (*AccountPage) CreateAnAccount ¶
func (s *AccountPage) CreateAnAccount() *RegisterPage
type CategoryPage ¶
type CategoryPage struct {
Page Page
}
func (*CategoryPage) SelectProduct ¶
func (s *CategoryPage) SelectProduct() *ProductPage
type CheckoutPage ¶
type CheckoutPage struct {
Page Page
}
func (*CheckoutPage) ProceedToCheckout ¶
func (*CheckoutPage) ProceedToCheckout()
type HomePage ¶
type HomePage struct {
Page Page
}
func (*HomePage) GoToAccessoriesPage ¶
func (s *HomePage) GoToAccessoriesPage() *AccessoriesPage
func (*HomePage) GoToAccountPage ¶
func (s *HomePage) GoToAccountPage() *AccountPage
func (*HomePage) GoToMenPage ¶
func (*HomePage) GoToSalePage ¶
func (*HomePage) GoToWomenPage ¶
type Page ¶
func (*Page) FindElementByClass ¶
func (s *Page) FindElementByClass(locator string) selenium.WebElement
func (*Page) FindElementByCss ¶
func (s *Page) FindElementByCss(locator string) selenium.WebElement
func (*Page) FindElementById ¶
func (s *Page) FindElementById(locator string) selenium.WebElement
func (*Page) FindElementByLinkText ¶
func (s *Page) FindElementByLinkText(locator string) selenium.WebElement
func (*Page) FindElementByName ¶
func (s *Page) FindElementByName(locator string) selenium.WebElement
func (*Page) FindElementByPartialLink ¶
func (s *Page) FindElementByPartialLink(locator string) selenium.WebElement
func (*Page) FindElementByTag ¶
func (s *Page) FindElementByTag(locator string) selenium.WebElement
func (*Page) FindElementByXpath ¶
func (s *Page) FindElementByXpath(locator string) selenium.WebElement
func (*Page) FindElementsByClass ¶
func (s *Page) FindElementsByClass(locator string) []selenium.WebElement
func (*Page) FindElementsByCss ¶
func (s *Page) FindElementsByCss(locator string) []selenium.WebElement
func (*Page) FindElementsById ¶
func (s *Page) FindElementsById(locator string) []selenium.WebElement
func (*Page) FindElementsByLinkText ¶
func (s *Page) FindElementsByLinkText(locator string) []selenium.WebElement
func (*Page) FindElementsByName ¶
func (s *Page) FindElementsByName(locator string) []selenium.WebElement
func (*Page) FindElementsByPartialLink ¶
func (s *Page) FindElementsByPartialLink(locator string) []selenium.WebElement
func (*Page) FindElementsByTag ¶
func (s *Page) FindElementsByTag(locator string) []selenium.WebElement
func (*Page) FindElementsByXpath ¶
func (s *Page) FindElementsByXpath(locator string) []selenium.WebElement
func (*Page) MouseHoverToElement ¶
func (s *Page) MouseHoverToElement(locator string) selenium.WebElement
type ProductPage ¶
type ProductPage struct {
Page Page
}
func (*ProductPage) AddProductToCart ¶
func (s *ProductPage) AddProductToCart() *CheckoutPage
type RegisterPage ¶
type RegisterPage struct {
Page Page
}
func (*RegisterPage) Register ¶
func (s *RegisterPage) Register() *AccountPage
type WomenPage ¶
type WomenPage struct {
Page Page
}
func (*WomenPage) SelectCategory ¶
func (s *WomenPage) SelectCategory() *CategoryPage
Click to show internal directories.
Click to hide internal directories.