utils.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:automation-design-patterns 作者: paulbodean88 项目源码 文件源码
def get_appium_driver(url, desired_capabilities) -> Remote:
    """
    Return the same instance to the Appium driver.

    :param url: the URL (address and port) where the service runs.
    :param desired_capabilities: session configuration data.
    :return: returns the SAME instance of the driver
    """
    return SingletonFactory.build(Remote,
                                  command_executor=url,
                                  desired_capabilities=desired_capabilities)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号