zap.core.new_session(apikey=apikey)zap.context.include_in_context(context_name, ".*mysite\.com.*", apikey)zap.spider.scan(url=target, contextname=context_name, apikey=apikey)
However, even though spider starts with a specified context, it still ignores URLs to subdomain.mysite.com and reports them in Spider->Processed window with OUT_OF_SCOPE flag.
Would be grateful for your suggestions.
Thanks in advance!
- Rostik