Exemplo n.º 1
0
def step_impl(context, text):
	home = python_home(context.driver)
	home.search = 'python'
	home.search_submit.click()
def step_impl(context):
	driver = context.driver
	driver.implicitly_wait(10)
	home = python_home(driver)
	assert home.python_logo.is_displayed
Exemplo n.º 3
0
def step_impl(context):
	driver = context.driver
	home = python_home(driver)
	home.get(home.url)
	assert "Welcome to Python.org" == driver.title