2018-08-15 12:51:52 +00:00
|
|
|
import logging
|
2018-07-26 18:58:05 +00:00
|
|
|
from selenium.common.exceptions import WebDriverException
|
|
|
|
|
|
|
|
|
|
|
|
def start_web_browser(driver):
|
2018-08-15 12:51:52 +00:00
|
|
|
logging.info('Start web browser')
|
2018-07-26 18:58:05 +00:00
|
|
|
try:
|
2020-03-17 17:27:10 +00:00
|
|
|
driver.start_activity('com.android.chrome', 'com.google.android.apps.chrome.Main')
|
2018-07-26 18:58:05 +00:00
|
|
|
except WebDriverException:
|
|
|
|
pass
|