Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Latest commit

 

History

History
96 lines (95 loc) · 6.26 KB

webpage.md

File metadata and controls

96 lines (95 loc) · 6.26 KB

webpage Module

Method/Property Type Status Notes
canGoBack bool ✅ Implemented
canGoForward bool ✅ Implemented
clipRect object ✅ Implemented
content string ✅ Implemented
cookies object ❌ Not implemented
customHeaders object ✅ Implemented
event object ❌ Not implemented
focusedFrameName string ✅ Implemented
frameContent string ✅ Implemented
frameName string ✅ Implemented
framePlainText string ✅ Implemented
frameTitle string ✅ Implemented
frameUrl string ✅ Implemented
framesCount int ✅ Implemented
framesName string[] ✅ Implemented
libraryPath string ✅ Implemented
navigationLocked bool ✅ Implemented
offlineStoragePath string ❌ Not implemented
offlineStorageQuota int ❌ Not implemented
ownsPages bool ❌ Not implemented
pages object ❌ Not implemented
paperSize object ❌ Not implemented
plainText string ✅ Implemented
scrollPosition object ✅ Implemented
settings object ❌ Not implemented
title string ✅ Implemented
url string ✅ Implemented
viewportSize object ✅ Implemented
windowName string ✅ Implemented
zoomFactor double ❌ Not implemented
addCookie(cookie) ❌ Not implemented
clearCookies() ❌ Not implemented
close() ✅ Implemented
deleteCookie(name) ❌ Not implemented
evaluateAsync(func[, delayMillis[, arg,[, ...]]) ✅ Implemented
evaluateJavaScript(str) ✅ Implemented
evaluate(func[, arg[, ...]]) ✅ Implemented
getPage(windowName) object ❌ Not implemented
go(index) ✅ Implemented
goBack() ✅ Implemented
goForward() ✅ Implemented
includeJs(url, callback) ✅ Implemented
injectJs(filename) bool ✅ Implemented
openUrl(url, httpConf, settings) ❌ Not implemented
open(url[, callback]) ✅ Implemented
open(url, method[, callback]) ✅ Implemented
open(url, method, data[, callback]) ✅ Implemented
open(url, method, settings, callback) ❌ Not implemented
reload() ✅ Implemented
renderBase64(format) ✅ Implemented
renderBuffer(format, quality) ❌ Not implemented
render(filename[, settings]) ⚠️ Partially implemented bmp, gif, jpg, png implemented. Missing pdf and ppm.
sendEvent(mouseEventType[, mouseX, mouseY, button='left']) ❌ Not implemented
sendEvent(keyboardEventType, keyOrKeys, [null, null, modifier]) ✅ Implemented
setContent(expectedContent, expectedUrl) ✅ Implemented
stop() ✅ Implemented
switchToFocusedFrame() ✅ Implemented
switchToFrame(name) ✅ Implemented
switchToFrame(position) ✅ Implemented
switchToMainFrame() ✅ Implemented
switchToParentFrame() ✅ Implemented
uploadFile(selector, filename) ❌ Not implemented
closing(page) ❌ Not implemented
initialized() ❌ Not implemented
javaScriptAlertSent(message) ❌ Not implemented
javaScriptConsoleMessageSent(message) ❌ Not implemented
loadFinished(status) ❌ Not implemented
loadStarted() ❌ Not implemented
navigationRequested(url, navigationType, navigationLocked, isMainFrame) ❌ Not implemented
rawPageCreated(page) ❌ Not implemented
resourceError(resource) ❌ Not implemented
resourceReceived(request) ❌ Not implemented
resourceRequested(request) ❌ Not implemented
urlChanged(url) ❌ Not implemented
onAlert function ✅ Implemented
onCallback function ✅ Implemented
onClosing function ❌ Not implemented
onConfirm function ✅ Implemented
onConsoleMessage function ✅ Implemented
onError function ✅ Implemented
onFilePicker function ❌ Not implemented
onInitialized function ✅ Implemented
onLoadFinished function ✅ Implemented
onLoadStarted function ✅ Implemented
onNavigationRequested function ✅ Implemented
onPageCreated function ❌ Not implemented
onPrompt function ✅ Implemented
onResourceError function ❌ Not implemented
onResourceReceived function ❌ Not implemented
onResourceRequested function ❌ Not implemented
onResourceTimeout function ❌ Not implemented
onUrlChanged function ✅ Implemented