From cd4dffcfcb3f7473913e2b50571a182689efeedc Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Mon, 13 Oct 2014 19:29:36 +0200 Subject: No more tag_index - now whoosh does everythin --- service/test/functional/features/steps/common.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'service/test/functional/features/steps/common.py') diff --git a/service/test/functional/features/steps/common.py b/service/test/functional/features/steps/common.py index 54b84d40..015c24ef 100644 --- a/service/test/functional/features/steps/common.py +++ b/service/test/functional/features/steps/common.py @@ -66,6 +66,10 @@ def find_element_by_xpath(context, xpath): return context.browser.find_element_by_xpath(xpath) +def find_element_by_id(context, id): + return context.browser.find_element_by_id(id) + + def find_element_by_css_selector(context, css_selector): return context.browser.find_element_by_css_selector(css_selector) -- cgit v1.2.3