How do I allow the Notifications on browsers for mobile .
So this pop-up comes once i log in with my account. I was able to allow the permissions for using the camera and mic but facing challenge for notifications settings on mobile browser.
If someone can help here, if they have already automated this.
In Katalon Studio 10.3, handling mobile browser notifications is tricky compared to camera and microphone permissions. The reason is that push notification prompts are managed at the browser or OS level, not directly exposed through automation APIs.
Professional Workarounds:
Pre-configure Browser Profile – Launch Chrome with a profile where notifications are already allowed. This bypasses the prompt during execution.
ChromeOptions Flags – Use mobile emulation or command-line flags (like --disable-notifications) to control how prompts behave.
Real Device Settings – If you’re testing on a physical device, configure notification permissions directly in the device settings before running your tests.
Test Strategy – Instead of relying on system prompts, consider mocking push notification events during test execution.
Many automation engineers face this exact challenge, so it’s more of a browser-level limitation than a Katalon issue. If you want more detailed, community-tested solutions.
Sorry for my late response. On Mobile Chrome, you can’t reliably “auto-Allow” that notification prompt with profile.default_content_setting_values.notifications , it only works for desktop-Chrome profiles.
If your goal is “don’t be blocked by the popup”, not “test notifications themselves”, add --disable-notifications in args.
If you test notification-enabled behavior, you can try to pre-configure the device/browser by manually tapping Allow once then reuse it for automation or Android Settings → Apps → Chrome → Notifications and ensure notifications are allowed globally.