![]() User action, can take advantage of this option for automation.openDevTools() HTML APIs like requestFullScreen, which require If userGesture is set, it will create the user Or is rejected if the result of the code is a rejected promise.Įvaluates code in page. Returns Promise - A promise that resolves with the result of the executed code userGesture boolean (optional) - Default false.The stylesheet is identifiedīy its key, which is returned from. Removes the inserted CSS from the current web page. Returns Promise - Resolves if the removal was successful. Injects CSS into the current web page and returns a unique key for the inserted Returns Promise - A promise that resolves with a key for the insertedĬSS that can later be used to remove the CSS via Returns string - The user agent for guest page.insertCSS(css) Overrides the user agent for the guest page.getUserAgent() Returns boolean - Whether the renderer process has tUserAgent(userAgent) Navigates to the specified offset from the "current entry".isCrashed() Navigates to the specified absolute index.goToOffset(offset) Makes the guest page go forward.goToIndex(index) Makes the guest page go back.goForward() Returns boolean - Whether the guest page can go to offset.clearHistory() Ĭlears the navigation history.goBack() Returns boolean - Whether the guest page can go forward.canGoToOffset(offset) Returns boolean - Whether the guest page can go back.canGoForward() ![]() Reloads the guest page and ignores cache.canGoBack() Reloads the guest page.reloadIgnoringCache() Returns boolean - Whether the guest page is waiting for a first-response for the Returns boolean - Whether the main frame (and not just iframes or frames within it) is Returns boolean - Whether guest page is still loading resources.isLoadingMainFrame() ![]() Returns string - The title of guest page.isLoading() Returns string - The URL of guest page.getTitle() Initiates a download of the resource at url without navigating.getURL() Loads the url in the webview, the url must contain the protocol prefix,Į.g. Returns Promise - The promise will resolve when the page has finished loading This is needed only if the specified url is a data url and needs to load other files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |