def METHOD_NAME(session_browser):
    page = GivenPage(session_browser.driver)
    page.opened_with_body(
        '''
        <h2 id="second">Heading 2</h2>
        '''
    )
    page.load_body_with_timeout(
        '''
        <a href="#second">go to Heading 2</a>
        <h2 id="second">Heading 2</h2>
        ''',
        0.5,
    )
    session_browser.all('a')[0].click()
    assert "second" in session_browser.driver.current_url