Modern web applications often request access to device location. The browser prompts the user to Allow or Deny the request. Test automation tools need to handle these permission prompts appropriately.
Scenario
Click the button to trigger a geolocation request.
Handle the browser permission prompt (Allow or Deny).
Verify that the label displays coordinates or "unavailable" based on the user's choice.