Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xvrh/puppeteer-dart
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.22.0
Choose a base ref
...
head repository: xvrh/puppeteer-dart
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Feb 27, 2023

  1. Copy the full SHA
    1d7055e View commit details
  2. Chromium 111 (#223)

    xvrh authored Feb 27, 2023
    Copy the full SHA
    ca91089 View commit details
  3. Update changelog

    xvrh committed Feb 27, 2023
    Copy the full SHA
    26cff73 View commit details

Commits on Mar 16, 2023

  1. Update to chromium 112 (#225)

    xvrh authored Mar 16, 2023
    Copy the full SHA
    2fbd780 View commit details

Commits on Mar 17, 2023

  1. Update version in changelog

    xvrh committed Mar 17, 2023
    Copy the full SHA
    3fe1eeb View commit details

Commits on May 10, 2023

  1. Use Chrome for Testing (#232)

    xvrh authored May 10, 2023
    Copy the full SHA
    ac27223 View commit details

Commits on May 11, 2023

  1. Upgrade dependencies (#234)

    xvrh authored May 11, 2023
    Copy the full SHA
    daa3c50 View commit details

Commits on Jun 2, 2023

  1. Update to Chrome 114 (#238)

    xvrh authored Jun 2, 2023
    Copy the full SHA
    a90e60a View commit details

Commits on Jun 7, 2023

  1. Bump chrome version (#240)

    xvrh authored Jun 7, 2023
    Copy the full SHA
    e1924e4 View commit details

Commits on Jun 13, 2023

  1. Relative User data dir (#241)

    Fixes #239
    xvrh authored Jun 13, 2023
    Copy the full SHA
    00899d8 View commit details

Commits on Jun 15, 2023

  1. Copy the full SHA
    307c2ac View commit details

Commits on Jul 19, 2023

  1. Chrome 115 (#245)

    xvrh authored Jul 19, 2023
    Copy the full SHA
    a93cc85 View commit details

Commits on Aug 4, 2023

  1. Copy the full SHA
    6e42b72 View commit details

Commits on Aug 6, 2023

  1. Copy the full SHA
    d730036 View commit details
  2. Prepare publish 3.2

    xvrh committed Aug 6, 2023
    Copy the full SHA
    db74882 View commit details
  3. Update publish.yml

    xvrh authored Aug 6, 2023
    Copy the full SHA
    063192c View commit details

Commits on Aug 19, 2023

  1. Copy the full SHA
    dd42d01 View commit details
  2. Copy the full SHA
    d08fad6 View commit details
  3. Upgrade dependencies (#256)

    xvrh authored Aug 19, 2023
    Copy the full SHA
    f3aa153 View commit details
  4. Require sdk 3.1.0

    xvrh committed Aug 19, 2023
    Copy the full SHA
    9fbb27e View commit details

Commits on Aug 20, 2023

  1. Copy the full SHA
    0244d2a View commit details
  2. Bump version

    xvrh committed Aug 20, 2023
    Copy the full SHA
    4ad7172 View commit details

Commits on Sep 5, 2023

  1. Copy the full SHA
    a49ad48 View commit details

Commits on Sep 13, 2023

  1. Copy the full SHA
    a02719c View commit details
  2. Prepare release (#262)

    xvrh authored Sep 13, 2023
    Copy the full SHA
    c532e80 View commit details

Commits on Sep 17, 2023

  1. Copy the full SHA
    b23b10b View commit details

Commits on Sep 22, 2023

  1. Copy the full SHA
    6f4fab1 View commit details

Commits on Sep 29, 2023

  1. Enable strict-raw-types (#266)

    xvrh authored Sep 29, 2023
    Copy the full SHA
    5f10754 View commit details
  2. Bump version (#267)

    xvrh authored Sep 29, 2023
    Copy the full SHA
    0a24784 View commit details

Commits on Oct 5, 2023

  1. roll to Chrome 117.0.5938.149 (#268)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Oct 5, 2023
    Copy the full SHA
    94ed9fe View commit details

Commits on Oct 11, 2023

  1. roll to Chrome 118.0.5993.70 (#269)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    ---------
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Oct 11, 2023
    Copy the full SHA
    c949393 View commit details

Commits on Oct 20, 2023

  1. Bump version

    xvrh committed Oct 20, 2023
    Copy the full SHA
    eef3111 View commit details
  2. Fix new lints (#270)

    xvrh authored Oct 20, 2023
    Copy the full SHA
    60082c0 View commit details

Commits on Nov 1, 2023

  1. Copy the full SHA
    2f45da3 View commit details

Commits on Nov 2, 2023

  1. Update changelog

    xvrh committed Nov 2, 2023
    Copy the full SHA
    dc8e8d3 View commit details

Commits on Dec 6, 2023

  1. roll to Chrome 120.0.6099.62 (#276)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    ---------
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Dec 6, 2023
    Copy the full SHA
    6595bae View commit details

Commits on Dec 8, 2023

  1. roll to Chrome 120.0.6099.71 (#278)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Dec 8, 2023
    Copy the full SHA
    bdb615a View commit details

Commits on Dec 19, 2023

  1. roll to Chrome 120.0.6099.109 (#279)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Dec 19, 2023
    Copy the full SHA
    3063b6e View commit details

Commits on Jan 13, 2024

  1. Copy the full SHA
    d00f81a View commit details

Commits on Jan 24, 2024

  1. roll to Chrome 121.0.6167.85 (#282)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Jan 24, 2024
    Copy the full SHA
    f0383e6 View commit details

Commits on Feb 17, 2024

  1. Add coverage report (#285)

    xvrh authored Feb 17, 2024
    Copy the full SHA
    28869d1 View commit details
  2. Bump version (#286)

    xvrh authored Feb 17, 2024
    Copy the full SHA
    fe62858 View commit details
  3. Tweak codecov (#289)

    xvrh authored Feb 17, 2024
    Copy the full SHA
    6f6d836 View commit details
  4. Codecov badge (#290)

    xvrh authored Feb 17, 2024
    Copy the full SHA
    73d91c7 View commit details
  5. roll to Chrome 121.0.6167.184 (#287)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Feb 17, 2024
    Copy the full SHA
    bb2adf7 View commit details

Commits on Feb 21, 2024

  1. roll to Chrome 122.0.6261.57 (#291)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    ---------
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Feb 21, 2024
    Copy the full SHA
    08eddfb View commit details

Commits on Feb 23, 2024

  1. roll to Chrome 122.0.6261.69 (#292)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Feb 23, 2024
    Copy the full SHA
    ca3e2fb View commit details

Commits on Feb 26, 2024

  1. Prepare publish v3.8.0 (#293)

    xvrh authored Feb 26, 2024
    Copy the full SHA
    a6d8928 View commit details

Commits on Feb 28, 2024

  1. roll to Chrome 122.0.6261.94 (#294)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Feb 28, 2024
    Copy the full SHA
    feed272 View commit details

Commits on Mar 8, 2024

  1. roll to Chrome 122.0.6261.111 (#295)

    Automatically generated by
    https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml
    
    Co-authored-by: xvrh <xvrh@users.noreply.github.com>
    xvrh and xvrh authored Mar 8, 2024
    Copy the full SHA
    3f5ca62 View commit details
Showing with 54,872 additions and 31,993 deletions.
  1. +1 −1 .dockerignore
  2. +9 −0 .github/dependabot.yml
  3. +11 −4 .github/workflows/build.yaml
  4. +28 −0 .github/workflows/coverage.yaml
  5. +2 −0 .github/workflows/{publish.yml → publish.yaml}
  6. +45 −0 .github/workflows/update-browser-pins.yaml
  7. +78 −1 CHANGELOG.md
  8. +1 −1 Dockerfile
  9. +2 −0 FUNDING.yml
  10. +1 −1 LICENSE
  11. +60 −29 README.md
  12. +6 −4 README.template.md
  13. +1 −1 analysis_options.yaml
  14. +4 −2 benchmark/pdf.dart
  15. +9 −0 bin/download_chrome.dart
  16. +0 −7 bin/download_chromium.dart
  17. +2 −0 codecov.yml
  18. +1 −1 dart_test.yaml
  19. +133 −87 doc/api.md
  20. +4 −3 example/capture_spa.dart
  21. +40 −0 example/chrome_preference_file.dart
  22. +10 −5 example/custom_event.dart
  23. +3 −2 example/{download_chromium.dart → download_chrome.dart}
  24. +5 −3 example/example.dart
  25. +8 −4 example/example_start_browser.dart
  26. +10 −4 example/execute_javascript.dart
  27. +6 −4 example/incognito.dart
  28. +6 −2 example/keyboard.dart
  29. +4 −2 example/metrics.dart
  30. +9 −6 example/print_to_pdf.dart
  31. +8 −4 example/screencast.dart
  32. +5 −2 example/screenshot_element.dart
  33. +4 −2 example/screenshot_page.dart
  34. +9 −4 example/search.dart
  35. +3 −2 example/stealth_plugin.dart
  36. +162 −145 lib/protocol/accessibility.dart
  37. +137 −47 lib/protocol/animation.dart
  38. +1,086 −505 lib/protocol/audits.dart
  39. +287 −0 lib/protocol/autofill.dart
  40. +33 −31 lib/protocol/background_service.dart
  41. +178 −0 lib/protocol/bluetooth_emulation.dart
  42. +116 −105 lib/protocol/browser.dart
  43. +69 −65 lib/protocol/cache_storage.dart
  44. +11 −20 lib/protocol/cast.dart
  45. +15 −13 lib/protocol/console.dart
  46. +1,191 −393 lib/protocol/css.dart
  47. +0 −148 lib/protocol/database.dart
  48. +430 −301 lib/protocol/debugger.dart
  49. +44 −10 lib/protocol/dev_tools.dart
  50. +91 −0 lib/protocol/device_access.dart
  51. +4 −1 lib/protocol/device_orientation.dart
  52. +478 −326 lib/protocol/dom.dart
  53. +55 −41 lib/protocol/dom_debugger.dart
  54. +407 −360 lib/protocol/dom_snapshot.dart
  55. +36 −51 lib/protocol/dom_storage.dart
  56. +468 −109 lib/protocol/emulation.dart
  57. +8 −4 lib/protocol/event_breakpoints.dart
  58. +110 −0 lib/protocol/extensions.dart
  59. +260 −0 lib/protocol/fed_cm.dart
  60. +132 −108 lib/protocol/fetch.dart
  61. +131 −0 lib/protocol/file_system.dart
  62. +20 −17 lib/protocol/headless_experimental.dart
  63. +89 −75 lib/protocol/heap_profiler.dart
  64. +141 −75 lib/protocol/indexed_db.dart
  65. +171 −139 lib/protocol/input.dart
  66. +4 −3 lib/protocol/inspector.dart
  67. +10 −27 lib/protocol/io.dart
  68. +101 −119 lib/protocol/layer_tree.dart
  69. +47 −42 lib/protocol/log.dart
  70. +56 −82 lib/protocol/media.dart
  71. +67 −24 lib/protocol/memory.dart
  72. +1,545 −990 lib/protocol/network.dart
  73. +540 −349 lib/protocol/overlay.dart
  74. +1,385 −646 lib/protocol/page.dart
  75. +16 −19 lib/protocol/performance.dart
  76. +70 −49 lib/protocol/performance_timeline.dart
  77. +693 −0 lib/protocol/preload.dart
  78. +111 −86 lib/protocol/profiler.dart
  79. +223 −0 lib/protocol/pwa.dart
  80. +599 −476 lib/protocol/runtime.dart
  81. +1 −4 lib/protocol/schema.dart
  82. +108 −102 lib/protocol/security.dart
  83. +104 −87 lib/protocol/service_worker.dart
  84. +1,616 −250 lib/protocol/storage.dart
  85. +106 −90 lib/protocol/system_info.dart
  86. +154 −129 lib/protocol/target.dart
  87. +2 −6 lib/protocol/tethering.dart
  88. +105 −101 lib/protocol/tracing.dart
  89. +163 −165 lib/protocol/web_audio.dart
  90. +236 −80 lib/protocol/web_authn.dart
  91. +1 −1 lib/puppeteer.dart
  92. +95 −64 lib/src/browser.dart
  93. +25 −24 lib/src/browser_path.dart
  94. +83 −47 lib/src/connection.dart
  95. +1,710 −915 lib/src/devices.dart
  96. +94 −50 lib/src/downloader.dart
  97. +11 −8 lib/src/javascript_function_parser.dart
  98. +86 −73 lib/src/page/accessibility.dart
  99. +35 −29 lib/src/page/coverage.dart
  100. +4 −2 lib/src/page/dialog.dart
  101. +181 −104 lib/src/page/dom_world.dart
  102. +32 −22 lib/src/page/emulation_manager.dart
  103. +81 −48 lib/src/page/execution_context.dart
  104. +202 −89 lib/src/page/frame_manager.dart
  105. +16 −9 lib/src/page/helper.dart
  106. +158 −87 lib/src/page/js_handle.dart
  107. +777 −452 lib/src/page/keyboard.dart
  108. +14 −9 lib/src/page/lifecycle_watcher.dart
  109. +66 −25 lib/src/page/mouse.dart
  110. +143 −101 lib/src/page/network_manager.dart
  111. +414 −235 lib/src/page/page.dart
  112. +11 −7 lib/src/page/touchscreen.dart
  113. +11 −8 lib/src/page/tracing.dart
  114. +29 −15 lib/src/page/worker.dart
  115. +115 −74 lib/src/puppeteer.dart
  116. +21 −11 lib/src/target.dart
  117. +54 −36 lib/src/target_manager.dart
  118. +71 −0 lib/src/utils/take_until.dart
  119. +6 −4 lib/src/websocket_html.dart
  120. +214 −150 pubspec.lock
  121. +14 −6 pubspec.yaml
  122. +172 −108 test/accessibility_test.dart
  123. +1 −1 test/assets/dynamic-oopif.html
  124. +5 −0 test/assets/oopif.html
  125. +1 −1 test/assets/simple-extension/index.js
  126. +6 −5 test/assets/simple-extension/manifest.json
  127. +55 −25 test/browser_context_test.dart
  128. +16 −10 test/browser_test.dart
  129. +106 −72 test/click_test.dart
  130. +75 −0 test/connect_on_web_directly_test.dart
  131. +7 −5 test/connect_on_web_part.dart
  132. +54 −22 test/connect_on_web_test.dart
  133. +85 −62 test/coverage_test.dart
  134. +41 −31 test/devtools_test.dart
  135. +36 −16 test/doc_example_extractor_test.dart
  136. +255 −121 test/doc_examples_test.dart
  137. +24 −0 test/download_all_platforms_test.dart
  138. +3 −2 test/downloader_test.dart
  139. +66 −36 test/element_handle_test.dart
  140. +211 −122 test/emulation_test.dart
  141. +106 −59 test/evaluation_test.dart
  142. +24 −18 test/examples_test.dart
  143. +88 −66 test/frame_test.dart
  144. +5 −1 test/golden/csscoverage-involved.txt
  145. BIN test/golden/grid-cell-0.png
  146. BIN test/golden/grid-cell-1.png
  147. BIN test/golden/mock-binary-response.png
  148. BIN test/golden/screenshot-clip-odd-size.png
  149. BIN test/golden/screenshot-clip-rect.png
  150. BIN test/golden/screenshot-element-bounding-box.png
  151. BIN test/golden/screenshot-element-fractional-offset.png
  152. BIN test/golden/screenshot-element-fractional.png
  153. BIN test/golden/screenshot-element-larger-than-viewport.png
  154. BIN test/golden/screenshot-element-padding-border.png
  155. BIN test/golden/screenshot-element-rotate.png
  156. BIN test/golden/screenshot-element-scrolled-into-view.png
  157. BIN test/golden/screenshot-grid-fullpage.png
  158. BIN test/golden/screenshot-offscreen-clip.png
  159. BIN test/golden/screenshot-sanity.png
  160. BIN test/golden/white.jpg
  161. +8 −6 test/golden_utils_test.dart
  162. +92 −47 test/headful_test.dart
  163. +111 −67 test/input_file_test.dart
  164. +5 −3 test/javascript_parser_test.dart
  165. +105 −57 test/js_handle_test.dart
  166. +78 −43 test/keyboard_test.dart
  167. +192 −128 test/launcher_test.dart
  168. +87 −56 test/mouse_test.dart
  169. +181 −113 test/navigation_test.dart
  170. +81 −50 test/network_test.dart
  171. +24 −7 test/oopif_test.dart
  172. +410 −255 test/page_test.dart
  173. +60 −29 test/query_selector_test.dart
  174. +158 −109 test/request_interception_test.dart
  175. +267 −198 test/screenshot_test.dart
  176. +124 −84 test/target_test.dart
  177. +4 −0 test/test_all.dart
  178. +4 −2 test/touchscreen_test.dart
  179. +7 −4 test/tracing_test.dart
  180. +23 −10 test/utils/pixel_match.dart
  181. +53 −34 test/utils/utils.dart
  182. +58 −26 test/utils/utils_golden.dart
  183. +134 −84 test/wait_task_test.dart
  184. +24 −16 test/worker_test.dart
  185. +20 −8 tool/code_style/dart_project.dart
  186. +16 −7 tool/code_style/fix_absolute_import.dart
  187. +26 −8 tool/code_style/fix_import_order.dart
  188. +3 −2 tool/download_protocol_from_repo.dart
  189. +33 −18 tool/generate_api_doc.dart
  190. +61 −111 tool/generate_devices.dart
  191. +25 −70 tool/generate_devices.g.dart
  192. +155 −95 tool/generate_protocol.dart
  193. +11 −5 tool/generate_readme.dart
  194. +15 −10 tool/generate_test_all_file.dart
  195. +56 −29 tool/inject_examples_to_doc.dart
  196. +19,244 −14,115 tool/json/browser_protocol.json
  197. +132 −27 tool/json/js_protocol.json
  198. +10,067 −5,263 tool/json/protocol_from_chrome.json
  199. +1,382 −0 tool/known_devices.json
  200. +115 −99 tool/model.dart
  201. +0 −2 tool/prepare_submit.dart
  202. +47 −0 tool/update_chrome_revision.dart
  203. +1 −1 tool/utils/escape_dart_string.dart
  204. +7 −4 tool/utils/string_helpers.dart
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

.local-chromium/**
.local-chrome/**
.dart_tool/**
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dependabot configuration file.
# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
15 changes: 11 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -16,17 +16,24 @@ jobs:
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Disable AppArmor
if: ${{ matrix.os == 'ubuntu-latest' }}
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- run: dart --version
- run: dart pub get
- run: dart analyze --fatal-infos .
- run: dart example/download_chromium.dart
- run: dart example/download_chrome.dart
- run: xvfb-run --auto-servernum dart test -P ci --platform vm
if: runner.os == 'Linux'
- run: dart test -P ci --platform vm --concurrency 1
if: runner.os != 'Linux'
env:
PUPPETEER_SKIP_GOLDEN_COMPARISON: 'true'
- run: dart test -P ci --platform vm
if: runner.os == 'Windows'
env:
PUPPETEER_SKIP_GOLDEN_COMPARISON: 'true'
- run: dart test -P ci --platform vm
if: runner.os == 'macOS'
- run: dart tool/prepare_submit.dart
- name: "check for uncommitted changes"
run: |
28 changes: 28 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Coverage
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Run tests with coverage
runs-on: macos-latest
steps:
- uses: dart-lang/setup-dart@v1
with:
sdk: 'stable'
- uses: actions/checkout@v4
- run: dart pub get
- run: dart example/download_chrome.dart
- run: dart test -P ci --platform vm --coverage=coverage
env:
PUPPETEER_SKIP_GOLDEN_COMPARISON: 'true'
- name: Install coverage tools
run: dart pub global activate coverage
- name: format coverage
run: $HOME/.pub-cache/bin/format_coverage --lcov --in=coverage --out=coverage.lcov --report-on=lib
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change
@@ -6,4 +6,6 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
45 changes: 45 additions & 0 deletions .github/workflows/update-browser-pins.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow will update the pinned browsers

name: 'Update the pinned browsers'

permissions: read-all

on:
schedule:
# Run everyday at: https://crontab.guru/#0_6_*_*_*.
- cron: '0 6 * * *'
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- uses: dart-lang/setup-dart@v1
with:
sdk: 'stable'
- name: Update Chrome to latest stable version
id: update
run: |
dart pub get
dart tool/update_chrome_revision.dart
- name: Run various update
if: ${{ steps.update.outputs.commit }}
run: |
dart tool/download_protocol_from_chrome.dart
dart tool/download_protocol_from_repo.dart
dart tool/generate_protocol.dart
dart tool/prepare_submit.dart
- name: Create Pull Request
if: ${{ steps.update.outputs.commit }}
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
branch-suffix: timestamp
commit-message: ${{ steps.update.outputs.commit }}
title: ${{ steps.update.outputs.commit }}
body: 'Automatically generated by https://github.com/xvrh/puppeteer-dart/blob/main/.github/workflows/update-browser-pins.yaml'
labels: dependencies
79 changes: 78 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,81 @@
# Changelog
## 3.17.0
- Update to Chrome 133.0.6943.53.

## 3.16.0
- Update to Chrome 131.0.6778.204

## 3.15.0
- Update to Chrome 129.0.6668.58
- Change close code for websocket in web to 1000

## 3.14.0
- Update to Chrome 128.0.6613.137

## 3.13.0
- Update to Chrome 127.0.6533.119

## 3.12.0
- Update to Chrome 126.0.6478.126

## 3.11.0
- Update to Chrome 125.0.6422.60
- Fix navigation error

## 3.10.0
- Update to Chrome 124.0.6367.201
- Small bug fix

## 3.9.0
- Update to Chrome 123.0.6312.122

## 3.8.0
- Update to Chrome 122.0.6261.69

## 3.7.0
- Update to Chrome 121.0.6167.184
- Requires Dart 3.3.0

## 3.6.0
- Update to Chrome 119.0.6045.105
- Fix new lints from package:lints v3.0.0

## 3.5.0
- Update to Chrome 118.0.5993.70

## 3.4.1
- Update to Chrome 117.0.5938.92

## 3.4.0
- Update to Chrome 117

## 3.3.0
- Update to Chrome 116
- Require Dart 3.1.0

## 3.2.0
- Update to Chrome 115

## 3.1.1
- Update to Chrome 114.0.5735.133
- Widen constraint on dependency `package:http`

## 3.1.0
- Update to Chrome 114
- Fix a bug on Windows when a relative directory was passed to `userDataDir`

## 3.0.0
- Download "Chrome for Testing" instead of Chromium.
- Update to Chrome 113
- Cache the browser binaries by default in `.local-chrome` instead of `.local-chromium`
- Replace `int revision` parameter with `String version` in `downloadChrome`
- Require minimum Dart `3.0.0` version.

## 2.24.0
- Update to Chromium 112

## 2.23.0
- Update to Chromium 111
- Check for null child node/Ids in Accessibility

## 2.22.0
- Add additional screenshot parameters
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -19,4 +19,4 @@ ENV CHROME_FORCE_NO_SANDBOX=true

COPY . .
RUN dart pub get
RUN dart example/download_chromium.dart
RUN dart example/download_chrome.dart
2 changes: 2 additions & 0 deletions FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: xvrh
custom: https://buymeacoffee.com/xvrh
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2017, xavier.hainaux.
Copyright (c) 2017, puppeteer-dart.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Loading