Changed world.browser.find_by_css to world.css_find

This commit is contained in:
JonahStanley
2013-08-08 11:43:52 -04:00
parent bb9d0df0d7
commit 3e68bdaaf1
2 changed files with 3 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ def set_the_weight_to_abc(step, bad_weight):
@step('if I set the max attempts to "(.*)", it will persist as a valid integer$')
def set_the_max_attempts(step, max_attempts_set):
#on firefox with selenium, the behaviour is different. eg 2.34 displays as 2.34 and is persisted as 2
# on firefox with selenium, the behaviour is different. eg 2.34 displays as 2.34 and is persisted as 2
index = world.get_setting_entry_index(MAXIMUM_ATTEMPTS)
world.css_fill('.wrapper-comp-setting .setting-input', max_attempts_set, index=index)
if world.is_firefox():