Skip to content
Testsigma DOCS

FAQs

How to Handle Browser-Related Permission Issues?


If you encounter browser-related permission issues during execution in Testsigma, you can resolve them by configuring specific desired capabilities. This article discusses configuring the desired capabilities to address such permission issues.


  1. From the left navigation bar, go to Create Tests and click Test Cases.

  2. In the Test Case Explorer section, expand the required Feature and Scenario and select the required test case.

  3. In the Test Case Details page, click Run.

  4. In the Ad-Hoc Run overlay, expand the Desired Capabilities field and specify the following desired capability. desired capability

Use the following desired capabilities to configure site permissions for Microphone, Camera, Location, and Notifications in Firefox.

NameData TypeValue
firefoxprofilestring{“permissions.default.microphone”: 1}
NameData TypeValue
firefoxprofilestring{“permissions.default.camera”: 1}
NameData TypeValue
firefoxprofilestring{“permissions.default.geo”: 1}
NameData TypeValue
firefoxprofilestring{“permissions.default.desktop-notification”: 1}

Use the following desired capabilities to configure site permissions for Microphone, Camera, Location, Notifications, and Clipboard in Chrome.

NameData TypeValue
goog:chromeOptionsstring{“prefs”:{“profile.default_content_setting_values.media_stream_camera”: 2}}
NameData TypeValue
goog:chromeOptionsstring{“prefs”:{“profile.default_content_setting_values.media_stream_camera”: 2}}
NameData TypeValue
goog:chromeOptionsstring{“prefs”: {“profile.default_content_setting_values.geolocation”: 1}}
NameData TypeValue
goog:chromeOptionsstring{“prefs”: {“profile.default_content_setting_values.notifications”:1}}
NameData TypeValue
goog:chromeOptionsstring{“prefs”: {“profile.default_content_setting_values.clipboard”:1}}

Use the following desired capabilities to configure site permissions for Microphone, Camera, Location, Notifications, and Clipboard in Edge.

NameData TypeValue
MsOptionsstring{“prefs”: {“profile.default_content_setting_values.media_stream_mic”: 2}}
NameData TypeValue
MsOptionsstring{“prefs”:{“profile.default_content_setting_values.media_stream_camera”: 2}}
NameData TypeValue
MsOptionsstring{“prefs”: {“profile.default_content_setting_values.geolocation”: 1}}
NameData TypeValue
MsOptionsstring{“prefs”: {“profile.default_content_setting_values.notifications”:1}}
NameData TypeValue
MsOptionsstring{“prefs”: {“profile.default_content_setting_values.clipboard”:1}}