Skip to content

Add ad-blocking functionality #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 6, 2018
Merged

Add ad-blocking functionality #158

merged 8 commits into from
Apr 6, 2018

Conversation

mdmintz
Copy link
Member

@mdmintz mdmintz commented Apr 6, 2018

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.

@mdmintz mdmintz merged commit aa741cf into master Apr 6, 2018
@mdmintz mdmintz deleted the ad-blocking-functionality branch April 6, 2018 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant