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)
评论列表
文章目录