Skip to main content

Handling the Location Permission Browser Popup

Handle

How Browserto Locationachieve Permissionor Prompts

Browser permission prompts can interrupt Scenario Editor executions. Configurehandle location permission behaviorpop-ups intentionallyin beforeAIQ.

    Stop test designer

    Navigate to "\TestDesigner\NetworkProxy\config\Chrome" in your installation.

    Take backup of the run"AllowDownloads.json" insteadfile by renaming it.

    Create a new version of treating"AllowDownloads.json" file in "\TestDesigner\NetworkProxy\config\Chrome" using the promptfollowing as an ordinary application dialog.code:

    approach

      AllowDownloads.json
      {
                                  "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"
                                  }
                                  }
                              }
      Confirm whether the

      Start test requiresdesigner

      real, mocked, or

      Login blockedto locationAIQ behavior.

      Useand approvedlaunch browser/profileyour configuration for the execution environment.Document the expected permission state with the scenario or environment notes.Do not grant browser permissionsscript in productionplayback ormode sharedin environmentsChrome. without approval.

      Troubleshooting

      1. Check
        whether

        Last theupdated: promptJune is26, from2023

        the

        If browser,you thehave operatingany system, or the application.

      2. Confirm the Test Node browser profile matches the intended permission state.
      3. Review output and screenshots when a prompt blocks execution.
      4. Prefer environment configuration over fragile click automationfeedback on browserthis prompts.
      topic,

      Lastplease updated:contact Septemberus 9,at 2026documentation@appvance.ai