Skip to content

Commit

Permalink
Align Geolocation with notification parameter. TODO : Implement prope…
Browse files Browse the repository at this point in the history
…r parameter on GUI
  • Loading branch information
bcivel committed Sep 23, 2024
1 parent 000ce2e commit 2d36ca1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,8 @@ private MutableCapabilities setCapabilityBrowser(MutableCapabilities capabilitie
// SET CHROME OPTIONS
// 0 - Default, 1 - Allow, 2 - Block
contentSettings.put("notifications", tCExecution.getRobotObj().getAcceptNotifications());
//TODO CREATE OWN PARAMETER
contentSettings.put("geolocation", tCExecution.getRobotObj().getAcceptNotifications());
profileCH.put("managed_default_content_settings", contentSettings);
prefs.put("profile", profileCH);
optionsCH.setExperimentalOption("prefs", prefs);
Expand Down

0 comments on commit 2d36ca1

Please sign in to comment.