diff --git a/init_helpers.py b/init_helpers.py index 2131f4c8b..1f04934e7 100644 --- a/init_helpers.py +++ b/init_helpers.py @@ -62,9 +62,9 @@ def load_config_from_env(): def attach_screenshot(filename): logging.basicConfig(level=logging.DEBUG) if config["browser"] == "mobile": - filename = config["browser"].upper() + "_" + config["device"] + "_" + get_browser_version() + "_" + filename + ".png" + filename = config["browser"] + "_" + config["device"] + "_" + get_browser_version() + "_" + filename + ".png" else: - filename = config["browser"].upper() + "_" + get_browser_version() + "_" + filename + "_" + ".png" + filename = config["browser"] + "_" + get_browser_version() + "_" + filename + ".png" directory = os.path.dirname(filename) if directory: