@pytest.mark.xfail_marionette(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1309231')
@pytest.mark.xfail_phantomjs(reason='PhantomJS does not implement page load timeouts')
def testClickShouldTimeout(self, driver, pages):
    pages.load('simpleTest.html')
    driver.set_page_load_timeout(0.01)
    with pytest.raises(TimeoutException):
        driver.find_element_by_id('multilinelink').click()
@pytest.mark.xfail_marionette(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1309231')
@pytest.mark.xfail_phantomjs(reason='PhantomJS does not implement page load timeouts')
def testClickShouldTimeout(self, driver, pages):
    pages.load('simpleTest.html')
    driver.set_page_load_timeout(0.01)
    with pytest.raises(TimeoutException):
        driver.find_element_by_id('multilinelink').click()