[py] Disabling beforeunload alert test for remote too, because it usese legacy Firefox
@@ -240,6 +240,7 @@ def testShouldHandleAlertOnPageLoadUsingGet(driver, pages):
WebDriverWait(driver, 3).until(EC.text_to_be_present_in_element((By.TAG_NAME, "p"), "Page with onload event handler"))
+@pytest.mark.xfail_remote(reason='Runs in legacy Firefox that is not W3C conformant')
@pytest.mark.xfail_firefox(reason='Non W3C conformant')
@pytest.mark.xfail_chrome(reason='Non W3C conformant')
def testShouldHandleAlertOnPageBeforeUnload(driver, pages):
