Skip to content

Add ad-blocking functionality

Compare
Choose a tag to compare
@mdmintz mdmintz released this 06 Apr 03:42
· 7761 commits to master since this release
aa741cf

Add ad-blocking functionality

Usage:

On the command line:
"pytest SOME_TEST.py --ad_block"
OR
"nosetests SOME_TEST.py --ad_block"

From inside a test:
self.ad_block()

Uses AD_BLOCK_LIST from seleniumbase/config/ad_block_list.py to determine what gets blocked.