async def METHOD_NAME(selenium, raise_for_status_fixture):
    import pytest
    from pyodide.http import pyfetch
    resp = await pyfetch(raise_for_status_fixture["/status_200"])
    resp.raise_for_status()
    assert await resp.string() == "Some data here!"
    resp = await pyfetch(raise_for_status_fixture["/status_404"])
    with pytest.raises(
        OSError, match="404 Client Error: NOT FOUND for url: .*/status_404"
    ):
        resp.raise_for_status()
    resp = await pyfetch(raise_for_status_fixture["/status_504"])
    with pytest.raises(
        OSError, match="504 Server Error: GATEWAY TIMEOUT for url: .*/status_504"
    ):
        resp.raise_for_status()