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:
|
|
|
|
driver.start_activity('org.chromium.webview_shell', 'WebViewBrowserActivity')
|
|
|
|
except WebDriverException:
|
|
|
|
pass
|