コード例 #1
0
ファイル: __init__.py プロジェクト: nimbis/aloe_webdriver
def select_single_item(self, option_name, select_name):
    """
    Select the named option from select with label (recommended), name or id.
    """
    option_box = find_option(world.browser, select_name, option_name)
    assert option_box, "Cannot find option '{}'.".format(option_name)
    option_box.click()
コード例 #2
0
def select_single_item(self, option_name, select_name):
    """
    Select the named option from select with label (recommended), name or id.
    """
    option_box = find_option(world.browser, select_name, option_name)
    assert option_box, "Cannot find option '{}'.".format(option_name)
    option_box.click()
コード例 #3
0
ファイル: __init__.py プロジェクト: nimbis/aloe_webdriver
def assert_single_selected(self, option_name, select_name):
    """
    Assert the given option is selected from the select with label
    (recommended), name or id.

    If multiple selections are supported other options may be selected.
    """
    option = find_option(world.browser, select_name, option_name)
    assert_true(option.is_selected())
コード例 #4
0
def assert_single_selected(self, option_name, select_name):
    """
    Assert the given option is selected from the select with label
    (recommended), name or id.

    If multiple selections are supported other options may be selected.
    """
    option = find_option(world.browser, select_name, option_name)
    assert option.is_selected(), "Option should be selected."
コード例 #5
0
def assert_single_selected(self, option_name, select_name):
    option_box = find_option(world.browser, select_name, option_name)
    assert_true(option_box.is_selected())
コード例 #6
0
def select_single_item(self, option_name, select_name):
    option_box = find_option(world.browser, select_name, option_name)
    option_box.click()
コード例 #7
0
def assert_single_selected(self, option_name, select_name):
    option_box = find_option(world.browser, select_name, option_name)
    assert_true(option_box.is_selected())
コード例 #8
0
def select_single_item(self, option_name, select_name):
    option_box = find_option(world.browser, select_name, option_name)
    option_box.click()
コード例 #9
0
ファイル: __init__.py プロジェクト: jricardo27/aloe_webdriver
def select_single_item(self, option_name, select_name):
    """
    Select the named option from select with label (recommended), name or id.
    """
    option_box = find_option(world.browser, select_name, option_name)
    option_box.click()