🎯 Purpose
Checks the Security Issues status for a domain in GSC.
Source: apps/search_console_tools/core/commands/check_domain_safety.py.
📥 Input
domain: str— domain (e.g.example.com)
📤 Output
True— if the Security Issues page contains “No issues detected”False— otherwise
⚠️ Errors
DomainNotFoundException— if the account does not have access to the property (UI shows: “Oops, you don’t have access to this property”)
⚙️ How it works
The command opens:
https://search.google.com/search-console/security-issues?resource_id=sc-domain%3A{domain}
Then it waits:
wait_for_timeout(GSC_DELAY_MS)wait_for_load_state("networkidle")