Handle Browser Location Permission Prompts
Handle Browser Location Permission Prompts
HowBrowser topermission achieveprompts orcan handleinterrupt Scenario Editor executions. Configure location permission pop-upsbehavior intentionally before the run instead of treating the prompt as an ordinary application dialog.
Recommended approach
- Confirm whether the test requires real, mocked, or blocked location behavior.
- Use approved browser/profile configuration for the execution environment.
- Document the expected permission state with the scenario or environment notes.
- Do not grant browser permissions in
AIQ.productionor
environments without approval.shared
Troubleshooting
- Check
Stop test designer
Navigate to "\TestDesigner\NetworkProxy\config\Chrome" in your installation.
Take backup ofwhether the "AllowDownloads.json"prompt fileis byfrom renamingthe it.
Createoutput and screenshots when a newprompt versionblocks ofexecution.
{
"credentials_enable_service": false,
"profile": {
"managed_default_content_settings":{
"geolocation": 1
},
"default_content_setting_values": {
"automatic_downloads": 1,
"geolocation": 1
},
"default_content_settings":{
"popups":0
},
"cookie_controls_mode": 0
},
"download": {
"directory_upgrade": true
},
"partition": {
"default_zoom_level": {
"x": 0
}
},
"devtools": {
"preferences": {
"jsSourceMapsEnabled": "false"
}
}
}Start test designer
Login to AIQ and launch your script in playback mode in Chrome.
Last updated: JuneSeptember 26,9, 20232026
If you have any feedback on this topic, please contact us at documentation@appvance.ai