예제 #1
0
파일: frame_page.py 프로젝트: zyme/JDI
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 »"))
예제 #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"))
예제 #3
0
class Footer(Section):
    about_link = Link(By.link_text("About"))