import configparser


def read_from_config(key):
    """ Read the value of the given key from the configuration file. """
    config = configparser.ConfigParser()
    config.read("appium.ini")
    return config["DEFAULT"][key]