There was an error while loading. Please reload this page.
from pagium import Page, PageElement, By, controls class MyPage(Page): my_input = PageElement(controls.Input, by=By.NAME, value='name') with MyPage(wd, 'http://project') as page: page.my_input.fill('input value')
value
fill
fill('text')
href
src
options
selected
select
select('value_or_text', by='value')
is_checked
is_checked()
check
check()
uncheck
uncheck()
from pagium import Page, PageElement, WebElement, By class MyCustomControl(WebElement): pass class MyPage(Page): my_input = PageElement(MyCustomControl, by=By.NAME, value='name')