Esempio n. 1
0
class FramePage(WebPage):
    def __init__(self, url, title=None, domain=None):
        super(FramePage, self).__init__(url, title, domain)

    i_frame = FrameSection(By.id("iframeResult"))

    try_it_button = Button(By.link_text("Try it Yourself »"))
Esempio n. 2
0
class HomePage(WebPage):
    def __init__(self, url, title):
        super(HomePage, self).__init__(url=url, title=title)

    about = Link(By.link_text("About"))

    logo_image = Image(By.css(".epam-logo img"))

    text_item = Text(By.css(".main-txt"))
Esempio n. 3
0
class Footer(Section):
    about_link = Link(By.link_text("About"))