Example #1
0
def open_discopane(my_base_url, selenium):
    """Open discopane via the menu."""
    with selenium.context(selenium.CONTEXT_CHROME):
        toolbar = selenium.find_element_by_id('menu_ToolsPopup')
        toolbar.click()
        addons = selenium.find_element_by_id('menu_openAddons')
        addons.click()
    return DiscoveryPane(selenium, my_base_url).wait_for_page_to_load()
Example #2
0
def discovery_pane(selenium, my_base_url):
    """Open the discovery pane via the URL."""
    return DiscoveryPane(selenium, my_base_url).open()
Example #3
0
def discovery_pane(selenium, base_url):
    return DiscoveryPane(selenium, base_url).open()