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 +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/capybara/lightpanda/binary.rb +1 -1
- data/lib/capybara/lightpanda/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d3ecfd9caec81be35a8a5bf5f1805c286a847d7b91ee6a20c3ecff88f0d18b1
|
|
4
|
+
data.tar.gz: 0e989959b2bcdfabe7d375120f69b9c7ef65305619cc5ba4c6e012c1972db34a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|