def METHOD_NAME(page, port):
    # The pdf does not have 2 pages just to verify #page is set
    pdf_pane = PDF(PDF_FILE, start_page=22, embed=False)
    serve(pdf_pane, port=port, threaded=True, show=False)
    time.sleep(0.2)
    page.goto(f"http://localhost:{port}")
    src = page.locator("embed").get_attribute('src')
    assert src == PDF_FILE + "#page=22"