# @todo handle multiple contexts, bind a unique id from the browser on each req?
self.context=self.playwright_browser.new_context(
# This is needed to enable JavaScript execution on GitHub and others
bypass_csp=True,
# Should never be needed
accept_downloads=False,
proxy=proxy
accept_downloads=False,# Should never be needed
bypass_csp=True,# This is needed to enable JavaScript execution on GitHub and others
proxy=proxy,
service_workers=os.getenv('PLAYWRIGHT_SERVICE_WORKERS','allow'),# Should be `allow` or `block` - sites like YouTube can transmit large amounts of data via Service Workers
service_workers=os.getenv('PLAYWRIGHT_SERVICE_WORKERS','allow'),# Should be `allow` or `block` - sites like YouTube can transmit large amounts of data via Service Workers