- Add
$PYPPETEER_NO_PROGRESS_BARenvironment variable pyppeteer.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 argumentpreferCSSPageSize- Add new option
defaultViewporttolaunch()andconnect() - Add
BrowserContext.pages()method
- Fix miss-spelled methods and functions
- Change
Browser.isIncognitetoBrowser.isIncognito - Change
Browser.createIncogniteBrowserContexttoBrowser.createIncognitoBrowserContext - Change
chromium_excutabletochromium_executable - Remove
craetefunction inpage.py
- Change
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()
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
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
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
-
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
Catch up puppeteer v1.2.0
- Add
ElementHandle.contentFramemethod - Add
Request.redirectChainmethod Page.addScriptTagaccepts a new optiontype
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
-
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
- BugFix: Skip SIGHUP option on windows (windows does not support this signal)
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
-
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
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 code -
addScriptTagandaddStyleTagreturnElementHandle -
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)
- BugFix (#33)
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
- Enable to import
launchfrom package root - Change
browser.closeto coroutine function - Catch up puppeteer v0.11.0
- Delete temporary user data directory when browser closed
- Fix bug to fail extracting zip on mac
- Change chromium revision
- Support steps option of
Mouse.move() - Experimentally supports python 3.5 by py-backwards
- Catch up puppeteer v0.10.2
- Add
Page.querySelectorEval(Page.$evalin puppeteer) - Deprecate
ElementHandle.attribute - Add
Touchscreenclass and implementPage.tapandElementHandle.tap
- Add
- Accept keyword arguments for options
- Faster polling on
waitFor*functions - Fix bugs
- Implement pdf printing
- Implement
waitFor*functions
- Register PyPI