There was an error while loading. Please reload this page.
from pagium import Page from pagium.hooks import ClickActionHook class MyPage(Page): link = PageElement(by=By.TAG_NAME, value='a', hook=ClickActionHook) with MyPage(wd, 'http://my-project') as page: page.link()
arguments:
string
from pagium import Page from pagium.hooks import SendEnterHook class MyPage(Page): input = PageElement(by=By.TAG_NAME, value='input', hook=SendEnterHook) with MyPage(wd, 'http://my-project') as page: page.input('fill it and enter')