History¶
Version 0.0.25 (2018-09-27)¶
- Fix miss-spelled methods and functions
- Change 
Browser.isIncognitetoBrowser.isIncognito - Change 
Browser.createIncogniteBrowserContexttoBrowser.createIncognitoBrowserContext - Change 
chromium_excutabletochromium_executable - Remove 
craetefunction inpage.py 
 - Change 
 
Version 0.0.24 (2018-09-12)¶
Catch up puppeteer v1.6.0
- Add 
ElementHandle.isIntersectingViewport() - Add 
reportAnonymousScriptoption toCoverage.startJSCoverage() - Add 
Page.waitForRequestandPage.waitForResponsemethods - Now possible to attach to extension background pages with 
Target.page() - Improved reliability of clicking with 
Page.click()andElementHandle.click() 
Version 0.0.23 (2018-09-10)¶
Catch up puppeteer v1.5.0
- Add 
BrowserContextclass - Add 
Workerclass - Change 
CDPSession.sendto a normal function which returns awaitable value - Add 
Page.isClosedmethod - Add 
ElementHandle.querySelectorAllEvalandElementHandle.JJeval - Add 
Target.opener - Add 
Request.isNavigationRequest 
Version 0.0.22 (2018-09-06)¶
Catch up puppeteer v1.4.0
- Add 
pyppeteer.DEBUGvariable - Add 
Page.browser - Add 
Target.browser - Add 
ElementHandle.querySelectorEvalandElementHandle.Jeval - Add 
runBeforeUnloadoption toPage.closemethod - Change 
Page.querySelectorEvalto raiseElementHandleErrorwhen element which matchesselectoris not found - Report ‘Log’ domain entries as ‘console’ events
 - Fix 
Page.gototo return response when page pushes new state - (OS X) Suppress long log when extracting chromium
 
Version 0.0.21 (2018-08-21)¶
Catch up puppeteer v1.3.0
- Add 
pyppeteer-installcommand - Add 
autoCloseoption tolaunchfunction - Add 
loopoption tolaunchfunction (experimental) - Add 
Page.setBypassCSPmethod Page.tracing.stopreturns result data- Rename 
documentloadedtodomcontentloadedonwaitUntiloption - Fix 
slowMooption - Fix anchor navigation
 - Fix to return response via redirects
 - Continue to find WS URL while process is alive
 
Version 0.0.20 (2018-08-11)¶
- Run on msys/cygwin, anyway
 - Raise error correctly when connection failed (PR#91)
 - Change browser download location and temporary user data directory to:
- If 
$PYPPETEER_HOMEenvironment variable is defined, use this location - Otherwise, use platform dependent locations, based on appdirs:
'C:\Users\<username>\AppData\Local\pyppeteer'(Windows)'/Users/<username>/Library/Application Support/pyppeteer'(OS X)'/home/<username>/.local/share/pyppeteer'(Linux)- or in 
'$XDG_DATA_HOME/pyppeteer'if$XDG_DATA_HOMEis defined 
- or in 
 
 
 - If 
 - Introduce 
$PYPPETEER_CHROMIUM_REVISION - Introduce 
$PYPPETEER_HOME - Add 
logLeveloption tolaunchandconnectfunctions - Add page 
closeevent - Add 
ElementHandle.boxModelmethod - Add an option to disable timeout for 
waitForfunctions 
Version 0.0.19 (2018-07-05)¶
Catch up puppeteer v1.2.0
- Add 
ElementHandle.contentFramemethod - Add 
Request.redirectChainmethod Page.addScriptTagaccepts a new optiontype
Version 0.0.18 (2018-07-04)¶
Catch up puppeteer v1.1.1
- Add 
Page.waitForXPathandFrame.waitForXPath Page.waitForaccepts xpath string which starts with//- Add 
Response.fromCacheandResponse.fromServiceWorker - Add 
SecurityDetailsclass andresponse.securityDetails - Add 
Page.setCacheEnabledmethod - Add 
ExecutionContext.frame - Add 
dumpiooption tolaunchfunction - Add 
slowMooption toconnectfunction launcher.connectcan be access from package topfrom pyppeteer import connectis now valid
- Add 
Frame.evaluateHandle - Add 
Page.Events.DOMContentLoaded 
Version 0.0.17 (2018-04-02)¶
- Mark as alpha
 - Gracefully terminate browser process
 Request.methodandRequest.postDatareturnNoneif no data- Change 
Target.urlandTarget.typeto properties - Change 
Dialog.messageandDialog.defaultValueto properties - Fix: properly emit 
Browser.targetChangedevents - Fix: properly emit 
Browser.targetDestroyedevents 
Version 0.0.16 (2018-03-23)¶
- BugFix: Skip SIGHUP option on windows (windows does not support this signal)
 
Version 0.0.15 (2018-03-22)¶
Catch up puppeteer v1.0.0
- Support 
rafandmutationpolling forwaitFor*methods - Add 
Page.coverageto support JS and CSS coverage - Add XPath support with 
Page.xpath,Frame.xpath, andElementHandle.xpath - Add 
Target.createCDPSessionto work with raw Devtools Protocol - Change 
Frame.executionContextfrom property to coroutine - Add 
ignoreDefaultArgsoption topyppeteer.launch - Add 
handleSIGINT/handleSIGTERM/handleSIGHUPoptions topyppeteer.launch - Add 
Page.setDefaultNavigationTimeoutmethod Page.waitFor*methods acceptJSHandleas argument- Implement 
Frame.contentandFrame.setContentmethods page.tracing.startaccepts custom tracing categories option- Add 
Browser.processproperty - Add 
Request.frameproperty 
Version 0.0.14 (2018-03-14)¶
- Read WS endpoint from web interface instead of stdout
 - Pass environment variables of python process to chrome by default
 - Do not limit size of websocket frames
 - BugFix:
Keyboard.typePage.Events.Metrics
 
Version 0.0.13 (2018-03-10)¶
Catch up puppeteer v0.13.0
pyppeteer.launch()is now coroutine- Implement 
connectfunction PYPPETEER_DOWNLOAD_HOSTenv variable specifies host part of URL to download chromium- Rename 
setRequestInterceptionEnabletosetRequestInterception - Rename 
Page.getMetricstoPage.metrics - Implement 
Browser.pagesto access all pages- Add 
Targetclass and some new method on Browser 
 - Add 
 - Add 
ElementHandle.querySelectorandElementHandle.querySelectorAll - Refactor NavigatorWatcher
- add 
documentloaded,networkidle0, andnetworkidle2options 
 - add 
 Request.abortaccepts error codeaddScriptTagandaddStyleTagreturnElementHandle- Add 
force_exproption toevaluatemethod Page.selectreturns selected values- Add 
pyppeteer.versionandpyppeteer.version_info - BugFix:
- Do not change original options dictionary
 Page.framesPage.queryObjectsPage.exposeFunction- Request interception
 - Console API
 - websocket error on closing browser (#24)
 
 
Version 0.0.12 (2018-03-01)¶
- BugFix (#33)
 
Version 0.0.11 (2018-03-01)¶
Catch up puppeteer v0.12.0
- Remove 
ElementHandle.evaluate - Remove 
ElementHandle.attribute - Deprecate 
Page.plainText - Deprecate 
Page.injectFile - Add 
Page.querySelectorAllEval - Add 
Page.selectandPage.type - Add 
ElementHandle.boundingBoxandElementHandle.screenshot - Add 
ElementHandle.focus,ElementHandle.type, andElementHandle.press - Add 
getMetricsmethod - Add 
offlineMode 
Version 0.0.10 (2018-02-27)¶
- Enable to import 
launchfrom package root - Change 
browser.closeto coroutine function - Catch up puppeteer v0.11.0
 
Version 0.0.9 (2017-09-09)¶
- Delete temporary user data directory when browser closed
 - Fix bug to fail extracting zip on mac
 
Version 0.0.8 (2017-09-03)¶
- Change chromium revision
 - Support steps option of 
Mouse.move() - Experimentally supports python 3.5 by py-backwards
 
Version 0.0.7 (2017-09-03)¶
- Catch up puppeteer v0.10.2
- Add 
Page.querySelectorEval(Page.$evalin puppeteer) - Deprecate 
ElementHandle.attribute - Add 
Touchscreenclass and implementPage.tapandElementHandle.tap 
 - Add 
 
Version 0.0.6 (2017-09-02)¶
- Accept keyword arguments for options
 - Faster polling on 
waitFor*functions - Fix bugs
 
Version 0.0.5 (2017-08-30)¶
- Implement pdf printing
 - Implement 
waitFor*functions 
Version 0.0.4 (2017-08-30)¶
- Register PyPI