capybara-lightpanda 0.20.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85c34a939aac4ec0af4d86f7f3269829bafdfc8b738fc74b0c0d571f33c6b5c9
4
- data.tar.gz: 73f3d256e61fbaea568f651fa02a8d889a7e84152f9cf1c000b27d34db7cc4a4
3
+ metadata.gz: 3d3ecfd9caec81be35a8a5bf5f1805c286a847d7b91ee6a20c3ecff88f0d18b1
4
+ data.tar.gz: 0e989959b2bcdfabe7d375120f69b9c7ef65305619cc5ba4c6e012c1972db34a
5
5
  SHA512:
6
- metadata.gz: fc767d39e68f00f30fd00f0f70165075dd4f57b0ee0180330100a37c7a9f6f6b549d0f55678c42916bed0cc2773866323901bf80570053fe8e5b730922a581db
7
- data.tar.gz: 819cb05a4786ee56626fced0c2aa270c2ddfc1c59146c4d08565f5b450200facf60ca80f6760c265b261f1411e139731168954c9abf75b51367fa67336364adc
6
+ metadata.gz: b8164c55d207ade2428c2d85dcc22cba546220907e43e25b0a4524b5e34004339316fee0db27c6a336b11fb624206513a6642790781972508c30c8de8842208e
7
+ data.tar.gz: fa4aed6a44f130331189ef0bde3b4c9df3b44c0e46457d2aef329e1f96070092ac12eef965bdca5a5f797169ddde24b7b6c5a5633b613148066f356aab6a2153
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.20.1] - 2026-11-20
4
+
5
+ > **The gem now downloads Lightpanda 1.0.5** (was 1.0.4). It lands in a new file in `~/.cache/lightpanda/`, so the next run after `bundle update` fetches it. To stay on 1.0.4, set `LIGHTPANDA_VERSION=1.0.4`.
6
+
7
+ ### Changed
8
+
9
+ - **Element positions follow the page's layout more closely.** Lightpanda 1.0.5 places boxes by block flow, `position: absolute/relative` and grid instead of stacking them at fixed offsets, so `obscured?`, `wait_for_stop_moving` and HTML5 `drag_to` see different rectangles than on 1.0.4. The gem's own suites and Capybara's shared specs pass unchanged.
10
+
11
+ ### Fixed
12
+
13
+ - **`obscured?` no longer reports an element as covered by an empty block or an `inert` overlay** that follows it in the page.
14
+ - **Pages that wait on upload progress now finish:** `xhr.upload` fires its `loadstart`/`progress`/`load`/`loadend` events.
15
+
3
16
  ## [0.20.0] - 2026-11-19
4
17
 
5
18
  > **Migrating from Cuprite or Selenium?** Keep your driver name with `Capybara::Lightpanda.register_cuprite_driver`, and your Selenium helpers (`manage.cookie_named`, `logs.get(:browser)`, `action.send_keys`, `download_path=`) now work as they are. **Already on `:lightpanda`?** Four defaults changed, listed under Changed: `evaluate_async_script` now times out at Capybara's wait, `wait_for_network_idle` waits for response bodies, `right_click` / `double_click` press the target first, and `logs.get(:browser)` includes uncaught errors.
@@ -41,7 +41,7 @@ module Capybara
41
41
  #
42
42
  # INVARIANT: never below Process::MINIMUM_RELEASE (binary_test pins it),
43
43
  # or a fresh install would download a binary the driver then refuses.
44
- DEFAULT_VERSION = "1.0.4"
44
+ DEFAULT_VERSION = "1.0.5"
45
45
 
46
46
  # required_version value (or LIGHTPANDA_VERSION) that opts back into the
47
47
  # rolling `nightly` tag.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capybara
4
4
  module Lightpanda
5
- VERSION = "0.20.0"
5
+ VERSION = "0.20.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-lightpanda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Navid Emad