Skip to content
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

Skip geolocation permission in Safari on iPhone Simulator #136

Open
dimakozin opened this issue Feb 14, 2025 · 0 comments
Open

Skip geolocation permission in Safari on iPhone Simulator #136

dimakozin opened this issue Feb 14, 2025 · 0 comments

Comments

@dimakozin
Copy link

I tried to write test with SafariDriver
I got modal window like "site ask about your geolocation", but idk how to skip it
I tried:
capabilities.set_capability('safariAllowPopups', False)
capabilities.set_capability('safariIgnoreFraudWarning', False)
capabilities.set_capability('locationServicesEnabled', False)
capabilities.set_capability('locationServicesAuthorized', False)
capabilities.set_capability('locationServicesEnabled', False)
capabilities.set_capability('locationServicesAuthorized', False)

But nothing works

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

No branches or pull requests

1 participant