History¶
Version ?.?.? (next version, pup2.1.1 overhaul)¶
[populate me]
Version 0.2.5¶
Match package version and __version__ (🤦♂️)
Use
importlib_metadataso this isn’t a problem in the future
Version 0.2.4¶
Update
pyeedependency breaking build failures on NixOS + Fedora packaging systems (#207)
Version 0.2.3¶
Hotfix: random freezes from sending stdout to PIPE instead of DEVNULL
Fix
testspackage being installed for no reason
Version 0.0.26¶
Add
$PYPPETEER_NO_PROGRESS_BARenvironment variablepyppeteer.defaultArgsnow accepts that help infer chromium command-line flags.pyppeteer.launch()argumentignoreDefaultArgsnow accepts a list of flags to ignore.Page.type()now supports typing emojiPage.pdf()accepts a new argumentpreferCSSPageSizeAdd new option
defaultViewporttolaunch()andconnect()Add
BrowserContext.pages()method
Version 0.0.25 (2018-09-27)¶
Fix miss-spelled methods and functions
Change
Browser.isIncognitetoBrowser.isIncognitoChange
Browser.createIncogniteBrowserContexttoBrowser.createIncognitoBrowserContextChange
chromium_excutabletochromium_executableRemove
craetefunction inpage.py
Version 0.0.24 (2018-09-12)¶
Catch up puppeteer v1.6.0
Add
ElementHandle.isIntersectingViewport()Add
reportAnonymousScriptoption toCoverage.startJSCoverage()Add
Page.waitForRequestandPage.waitForResponsemethodsNow 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
BrowserContextclassAdd
WorkerclassChange
CDPSession.sendto a normal function which returns awaitable valueAdd
Page.isClosedmethodAdd
ElementHandle.querySelectorAllEvalandElementHandle.JJevalAdd
Target.openerAdd
Request.isNavigationRequest
Version 0.0.22 (2018-09-06)¶
Catch up puppeteer v1.4.0
Add
pyppeteer.DEBUGvariableAdd
Page.browserAdd
Target.browserAdd
ElementHandle.querySelectorEvalandElementHandle.JevalAdd
runBeforeUnloadoption toPage.closemethodChange
Page.querySelectorEvalto raiseElementHandleErrorwhen element which matchesselectoris not foundReport ‘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-installcommandAdd
autoCloseoption tolaunchfunctionAdd
loopoption tolaunchfunction (experimental)Add
Page.setBypassCSPmethodPage.tracing.stopreturns result dataRename
documentloadedtodomcontentloadedonwaitUntiloptionFix
slowMooptionFix 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 locationOtherwise, 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
Introduce
$PYPPETEER_CHROMIUM_REVISIONIntroduce
$PYPPETEER_HOMEAdd
logLeveloption tolaunchandconnectfunctionsAdd page
closeeventAdd
ElementHandle.boxModelmethodAdd an option to disable timeout for
waitForfunctions
Version 0.0.19 (2018-07-05)¶
Catch up puppeteer v1.2.0
Add
ElementHandle.contentFramemethodAdd
Request.redirectChainmethodPage.addScriptTagaccepts a new optiontype
Version 0.0.18 (2018-07-04)¶
Catch up puppeteer v1.1.1
Add
Page.waitForXPathandFrame.waitForXPathPage.waitForaccepts xpath string which starts with//Add
Response.fromCacheandResponse.fromServiceWorkerAdd
SecurityDetailsclass andresponse.securityDetailsAdd
Page.setCacheEnabledmethodAdd
ExecutionContext.frameAdd
dumpiooption tolaunchfunctionAdd
slowMooption toconnectfunctionlauncher.connectcan be access from package topfrom pyppeteer import connectis now valid
Add
Frame.evaluateHandleAdd
Page.Events.DOMContentLoaded
Version 0.0.17 (2018-04-02)¶
Mark as alpha
Gracefully terminate browser process
Request.methodandRequest.postDatareturnNoneif no dataChange
Target.urlandTarget.typeto propertiesChange
Dialog.messageandDialog.defaultValueto propertiesFix: properly emit
Browser.targetChangedeventsFix: 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*methodsAdd
Page.coverageto support JS and CSS coverageAdd XPath support with
Page.xpath,Frame.xpath, andElementHandle.xpathAdd
Target.createCDPSessionto work with raw Devtools ProtocolChange
Frame.executionContextfrom property to coroutineAdd
ignoreDefaultArgsoption topyppeteer.launchAdd
handleSIGINT/handleSIGTERM/handleSIGHUPoptions topyppeteer.launchAdd
Page.setDefaultNavigationTimeoutmethodPage.waitFor*methods acceptJSHandleas argumentImplement
Frame.contentandFrame.setContentmethodspage.tracing.startaccepts custom tracing categories optionAdd
Browser.processpropertyAdd
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 coroutineImplement
connectfunctionPYPPETEER_DOWNLOAD_HOSTenv variable specifies host part of URL to download chromiumRename
setRequestInterceptionEnabletosetRequestInterceptionRename
Page.getMetricstoPage.metricsImplement
Browser.pagesto access all pagesAdd
Targetclass and some new method on Browser
Add
ElementHandle.querySelectorandElementHandle.querySelectorAllRefactor NavigatorWatcher
add
documentloaded,networkidle0, andnetworkidle2options
Request.abortaccepts error codeaddScriptTagandaddStyleTagreturnElementHandleAdd
force_exproption toevaluatemethodPage.selectreturns selected valuesAdd
pyppeteer.versionandpyppeteer.version_infoBugFix:
Do not change original options dictionary
Page.framesPage.queryObjectsPage.exposeFunctionRequest 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.evaluateRemove
ElementHandle.attributeDeprecate
Page.plainTextDeprecate
Page.injectFileAdd
Page.querySelectorAllEvalAdd
Page.selectandPage.typeAdd
ElementHandle.boundingBoxandElementHandle.screenshotAdd
ElementHandle.focus,ElementHandle.type, andElementHandle.pressAdd
getMetricsmethodAdd
offlineMode
Version 0.0.10 (2018-02-27)¶
Enable to import
launchfrom package rootChange
browser.closeto coroutine functionCatch 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.attributeAdd
Touchscreenclass and implementPage.tapandElementHandle.tap
Version 0.0.6 (2017-09-02)¶
Accept keyword arguments for options
Faster polling on
waitFor*functionsFix bugs
Version 0.0.5 (2017-08-30)¶
Implement pdf printing
Implement
waitFor*functions
Version 0.0.4 (2017-08-30)¶
Register PyPI