def load_url(url): """ Load a new URL into a previously created WebView window. This function must be invoked after WebView windows is created with create_window(). Otherwise an exception is thrown. :param url: url to load """ gui.load_url(url)
def load_url(url, uid='master'): """ Load a new URL into a previously created WebView window. This function must be invoked after WebView windows is created with create_window(). Otherwise an exception is thrown. :param url: url to load :param uid: uid of the target instance """ gui.load_url(url, uid)
def load_url(url): """ Load a new URL into a previously created WebView window. This function must be invoked after WebView windows is created with create_window(). Otherwise an exception is thrown. :param url: url to load """ try: gui.load_url(url) except NameError: raise Exception("Create a web view window first, before invoking this function")
def load_url(url): """ Load a new URL into a previously created WebView window. This function must be invoked after WebView windows is created with create_window(). Otherwise an exception is thrown. :param url: url to load """ try: _webview_ready.wait(5) gui.load_url(url) except NameError: raise Exception("Create a web view window first, before invoking this function")
def load_url(url, uid='master'): """ Load a new URL into a previously created WebView window. This function must be invoked after WebView windows is created with create_window(). Otherwise an exception is thrown. :param url: url to load :param uid: uid of the target instance """ try: _webview_ready.wait(5) gui.load_url(url, uid) except NameError: raise Exception("Create a web view window first, before invoking this function") except KeyError: raise Exception("Cannot call function: No webview exists with uid: {}".format(uid))