@pytest.mark.integration
def test_scrolled_down_img(caret_tester):
 caret_tester.js.load('position_caret/scrolled_down_img.html')
 caret_tester.js.scroll_anchor('anchor')
 caret_tester.check_scrolled()
 caret_tester.check()

@ pytest . mark . integration def test_scrolled_down_img ( caret_tester ) : caret_tester . js . load ( 'position_caret/scrolled_down_img.html' ) caret_tester . js . scroll_anchor ( 'anchor' ) caret_tester . check_scrolled ( ) caret_tester . check ( )
test with an image at the top with the viewport scrolled down .