How to accept SSL certificate using selenium on an emulated Android
I found that it is indeed possible to get selenium to automatically accept the SSL certificate for the native Android browser.

The code normally looks like:

from selenium import webdriver

caps = {'browserName': 'Android Browser'}
caps['platform'] = 'Linux'
caps['version'] = '6'
caps['deviceName'] = 'Android Emulator'
caps['deviceOrientation'] = 'portrait'
sauce_settings = 'http://{0}:{1}@ondemand.saucelabs.com:80/wd/hub'.format(
    SAUCE_USER, SAUCE_KEY,
)
driver = webdriver.Remote(
    command_executor=sauce_settings,
    desired_capabilities=caps,
)


The missing option, that needs to be added to automatically accept the ssl certificate, is this:

caps['acceptSslCerts'] = True