Skip to content

Releases: chrome-php/chrome

v0.8.1

20 Feb 21:05
7abdf64
Compare
Choose a tag to compare
  • Fixed issues with Browser::close
  • Support PHP 7.3 and 7.4

v0.8.0

20 Feb 19:27
5caadeb
Compare
Choose a tag to compare
  • Added Page::pdf
  • Added timeout for PageEvaluation methods
  • Added support for Symfony 5
  • Added Browser::close

v0.7.0

04 Oct 13:42
Compare
Choose a tag to compare
  • Escaping custom flags for BrowserFactory is now automatic
  • Added timeout for Page::getFullPageClip
  • Added timeout for method getBase64
  • Added options headerTemplate and footerTempalte for Page::pdf
  • Added options scale for Page::pdf
  • Handle gracefully all pages failing to close
  • Fixed deprecation from Symfony

v0.6.0

14 Nov 20:30
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

v0.5.0

13 Nov 10:59
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Load script tags on the page

  • Features:
    • Added Page::callFunction
    • Added Page::addScriptTag
    • Enabled runtime events for pages
    • Enabled user gesture for Page::evaluate
    • Improved error messages from script evaluation
    • Added option "onLoad" for Page::addPreScript

v0.4.0

25 Oct 16:55
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • Features:
    • Added Page::getLayoutMetrics that allows to take full page screenshots (#43 #44) thanks @kaero598
    • Added Page::getFullPageClip to ease full page screenshots

Do full page screenshots:

$page->screenshot([
         'clip' => $page->getFullPageClip()
     ])
      ->saveToFile('/tmp/image.jpg');

v0.3.0

13 Oct 13:24
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Make a crawl instance sharable among multiple scripts

  • Features:
    • Added option keepAlive for browser factory.
    • Added methods BrowserProcess::getSocketUri and ProcessAwareBrowser::getSocketUri
    • Removed unused option debug
    • Added BrowserFactory::connectToBrowser
  • Bug fixes:
    • (BC Break) Page navigation now allows by default that the initial loader is replaced with a new one #40

v0.2.4

04 Oct 16:37
Compare
Choose a tag to compare
v0.2.4 Pre-release
Pre-release
  • Bug fixes:
    • Fixed a race condition in target creations/destruction #38 (thanks @choval)

v0.2.3

02 Oct 10:41
7c51a03
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release
  • Features:
    • Added method Browser::setPagePreScript
    • Added method Page::addPreScript
    • Added option "nosandbox" for browser factory
    • Added option "sendSyncDefaultTimeout" for browser factory
    • Added option "ignoreCertificateErrors" for browser factory
    • Added option "customFlags" for browser factory
  • Bug fixes:
    • Fixed user agent string for browser factory

v0.2.2

28 Aug 11:50
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  • Features:
    • Added mouse api (move, click)
    • Page info are now in sync with the browser
    • Added a shortcut to get current page url: Page::getCurrentUrl
    • Added ability to get and set cookies from a page: Page.setCookies, Page.readCookies , Page.readAllCookies
    • improved some error reporting
    • added ability to set custom user agent: Page::setUserAgent or via factory option userAgent
  • Bug fixes:
    • fixed a bug with directory creation for screenshots