How to handle know your location popup on Chrome with Python-UnitTest?
Hello Jacqueline-bosco,
Below is a sample syntax that you can refer to:
# Set chromeOptions
# 0 - Default, 1 - Allow, 2 - Block
chrome_options.add_experimental_option("prefs", { "profile.default_content_setting_values.geolocation": 1})