def test_double_click(browser, app_url):
    """Test: WebDriverElement.double_click()

    When an element has an action activated by a double click
    Then using the double_click() method will trigger it
    """
    browser.visit(app_url)

    button = browser.find_by_css(".db-button", wait_time=10)
    button.double_click()

    assert browser.find_by_css(
        ".should-be-visible-after-double-click",
        wait_time=10,
    ).is_visible(
        wait_time=10,
    )
    assert browser.is_element_not_present_by_id("what-is-your-name", wait_time=20)
Test: WebDriverElement.double_click()

    When an element has an action activated by a double click
    Then using the double_click() method will trigger it
    
tests/tests_webdriver/test_mouse_interaction.py