status-react/test/appium/support/device_apps.py
Churikova Tetiana 8aff7f487d
refactoring e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-17 18:37:16 +01:00

11 lines
288 B
Python

import logging
from selenium.common.exceptions import WebDriverException
def start_web_browser(driver):
logging.info('Start web browser')
try:
driver.start_activity('com.android.chrome', 'com.google.android.apps.chrome.Main')
except WebDriverException:
pass