@staticmethod
def create_driver(webview):
    """根据webview类型创建对应的WebDriver实例

        :param webview: WebView实例
        :type webview:  object
        """
    web_driver_path = webview.web_driver
    module = __import__(web_driver_path)
    for item in web_driver_path.split('.')[1:]:
        module = getattr(module, item)
    web_driver_cls = getattr(module, 'WebDriver')
    return web_driver_cls(webview)
