Because I have browser compatibility issues to consider, different browsers have different pop-up boxes, so this method doesn’t work for me. 
You should add Chrome Desired Capabilities content like the below sample:
"prefs" : {
"profile.default_content_setting_values.media_stream_mic": 1, # 1:allow, 2:block
"profile.default_content_setting_values.media_stream_camera": 1, # 1:allow, 2:block
"profile.default_content_setting_values.geolocation": 1, # 1:allow, 2:block
"profile.default_content_setting_values.notifications": 1 # 1:allow, 2:block
}
@duyluong
Thank you so much. Its working now.
@bilal.tariq hey,
Please what solution helped you ?
So you should check the solution box to help others refer when they will have the same problem.
thanks!
can you please guide me how to allow screenshare pop-up for entire screen
how about firefox (headless), because i running kre on docker
I will buy you a beer! It frickin worked I have been trying to fix this for so long!!! THANK YOU SO MUCH!!! do you have a link I can tip you?
Fantastic, useful information!
I am experiencing the same problem allowing multiple downloads. Any solutions for this?
I’m trying exactly the same and still see the popup asking for permission
Any idea why it can happen? ( Chrome Version 119.0.6045.105 (Official Build) (arm64)
Hi @alex_test,
You should wrap those values in the prefs like I mentioned here:
Hi @duyluong
Do we have same solution to Firefox browser
Hi @duyluong ,
I want to makesure script :
“prefs” : {
“profile.default_content_setting_values.media_stream_mic”: 1, # 1:allow, 2:block
“profile.default_content_setting_values.media_stream_camera”: 1, # 1:allow, 2:block
“profile.default_content_setting_values.geolocation”: 1, # 1:allow, 2:block
“profile.default_content_setting_values.notifications”: 1 # 1:allow, 2:block
}
where I want to look the script settings?
from katalon I’m finish to set
Hi there,
Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.
Thanks!
@achmad.hidayat
Please refer to this document: Pass desired capabilities at runtime in Katalon Studio | Katalon Docs
Example: Download FIle Chrome headless - #4 by duyluong





