Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 369 Bytes

page.rst

File metadata and controls

22 lines (13 loc) · 369 Bytes

Pages

stere.Page()

stere.Page.navigate()

Using Page as a Context Manager

Page contains __enter__() and __exit__() methods. This allows any page to be used as a Context Manager.

Example:

from pages import Home

with Home() as p:
    p.login_button.click()