def test_right_click(browser, app_url):
    "should be able to perform a right click on an element"
    browser.visit(app_url)

    element = browser.find_by_css(".right-clicable")
    element.right_click()

    time.sleep(5)
    result_1 = browser.find_by_text("right clicked", wait_time=20).text
    result_2 = browser.find_by_css(".right-clicable", wait_time=20).text

    assert result_1 == result_2 == "right clicked"
should be able to perform a right click on an element
tests/tests_webdriver/test_mouse_interaction.py