tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_1927121_southerndevilhd_com.py (568B)


      1 import pytest
      2 
      3 URL = (
      4    "https://www.southerndevilhd.com/default.asp?page=xallinventory&customSearch=harley"
      5 )
      6 GOOD_CSS = ".vehicle__image.b-loaded[style*=background-image]"
      7 BAD_MSG = "WebKitMutationObserver is not defined"
      8 
      9 
     10 @pytest.mark.asyncio
     11 @pytest.mark.with_interventions
     12 async def test_enabled(client):
     13    await client.navigate(URL, wait="none")
     14    assert client.await_css(GOOD_CSS, is_displayed=True)
     15 
     16 
     17 @pytest.mark.asyncio
     18 @pytest.mark.without_interventions
     19 async def test_disabled(client):
     20    await client.navigate(URL, await_console_message=BAD_MSG)