tor-browser

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

test_1472075_bankofamerica.py (530B)


      1 import pytest
      2 
      3 URL = "https://www.bankofamerica.com/"
      4 
      5 
      6 @pytest.mark.asyncio
      7 @pytest.mark.skip_platforms("android", "windows")
      8 @pytest.mark.with_interventions
      9 async def test_enabled(client):
     10    await client.navigate(URL)
     11    assert not client.find_css("#browserUpgradeNoticeBar")
     12 
     13 
     14 @pytest.mark.asyncio
     15 @pytest.mark.skip_platforms("android", "windows")
     16 @pytest.mark.without_interventions
     17 async def test_disabled(client):
     18    await client.navigate(URL)
     19    assert client.is_displayed(client.await_css("#browserUpgradeNoticeBar"))