Skip to content

v0.8.0

Compare
Choose a tag to compare
@zploskey zploskey released this 13 Jun 22:46

Support for Puppeteer 1.5. User-facing API changes are listed below. A couple of very minor breaking changes for consistency and correctness are marked as breaking.

New Features

  • Rename Target.pageType to targetType (#61)
  • Add Target type background_page (a4c5280)
  • Add slowMo to connectOptions (b9977cb)
  • Add missing ignoreDefaultArgs launch option (8374023)
  • Add Browser.process() (db8431c)
  • Add Browser.targets() (64f8105)
  • Add Page.isClosed() (6705ec9)
  • Add Page.setViewport() (7cc7478)
  • Add ExecutionContext.frame() (fdaee4a)
  • Make JSHandle.asElement() return an option breaking (c6a63ad)
  • Add Request.isNavigationRequest() (new in Puppeteer 1.5) (deb635e)
  • Add Target.opener() (new in Puppeteer 1.5) (a949007)
  • Support BrowserContext (new in Puppeteer 1.5) (18e2a94)
  • Add Worker module (Web Workers, new in Puppeteer 1.5) (4160b9b)

Bug Fixes

  • Fix Mouse.move options parameter (9b7c55c)
  • Tracing.start's options and path aren't optional (88f6f4a)
  • Move hover function to FrameBase (You can hover in a frame too) (01b5f51)
  • Fixes for Page.cookie type breaking (6ea5ddf)
  • Don't override addScriptTag in Frame (Fixed this external) (b263d86)
  • Move Page.click to FrameBase.click (Frames can be clicked too) (3433ed8)
  • Move Page.content() to FrameBase.content() (Frames have content too) (6f1b218)
  • deviceScaleFactor should be a float breaking (3b109ac)
  • Frames can also focus (5d728a4)
  • pdfOptions##scale should be a float breaking (4990439)
  • Move Page.select() to FrameBase (Can now select in a Frame) (6852beb)
  • Move Page.tap() to FrameBase (Can now tap in a frame) (ee135af)
  • Move Page.type_() and typeOptions to FrameBase (Can now type into Frames) (840364d)
  • Move Page.url() to FrameBase (Frames have urls too) (751bfc8)