eyes_selenium 6.9.2 → 6.10.0
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 +22 -0
- data/eyes_selenium.gemspec +1 -1
- data/lib/applitools/eyes_selenium/version.rb +1 -1
- data/lib/applitools/selenium/target.rb +10 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5475c91bcb8cbe3b8943412b82cb97c7f127d311a929d1057dd2470e3887e054
|
4
|
+
data.tar.gz: 499939853d1eafaaaf2033e35d1104d5e628470d45f79f840a2f50bce0ad322e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2af843bade1d17625f4f9519b902bd8ea2d27bf4d2ed9bfc136c7f347cdef6b65a7d1bfd5b2191490e728bf1324e2a131d9100c5489bf6f607a77b65ea79f605
|
7
|
+
data.tar.gz: 8e65e54209324f03e9844b369d2c6be6bc9472a63657c2c05fa9ad8fac94c6738d5c2f521f0d896f3633b313a44380ad1a6bba5e0cf9dd27eb33da78794db469
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [6.10.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_selenium@6.9.2...ruby/eyes_selenium@6.10.0) (2025-07-14)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* updated ruby dummy files ([#3095](https://github.com/Applitools-Dev/sdk/issues/3095)) ([fcacc0f](https://github.com/Applitools-Dev/sdk/commit/fcacc0f5ca14e0159bc0060ce5c085c40b9f5569))
|
9
|
+
|
10
|
+
|
11
|
+
### Dependencies
|
12
|
+
|
13
|
+
* eyes_universal bumped to 4.41.0
|
14
|
+
#### Features
|
15
|
+
|
16
|
+
* updated ruby dummy files ([#3095](https://github.com/Applitools-Dev/sdk/issues/3095)) ([fcacc0f](https://github.com/Applitools-Dev/sdk/commit/fcacc0f5ca14e0159bc0060ce5c085c40b9f5569))
|
17
|
+
* eyes_core bumped to 6.8.0
|
18
|
+
#### Features
|
19
|
+
|
20
|
+
* updated ruby dummy files ([#3095](https://github.com/Applitools-Dev/sdk/issues/3095)) ([fcacc0f](https://github.com/Applitools-Dev/sdk/commit/fcacc0f5ca14e0159bc0060ce5c085c40b9f5569))
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [6.9.2](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_selenium@6.9.1...ruby/eyes_selenium@6.9.2) (2025-06-15)
|
4
26
|
|
5
27
|
|
data/eyes_selenium.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
28
28
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
29
29
|
spec.require_paths = %w(lib)
|
30
|
-
spec.add_dependency 'eyes_core', "= 6.
|
30
|
+
spec.add_dependency 'eyes_core', "= 6.8.0"
|
31
31
|
spec.add_dependency 'selenium-webdriver', '>= 3'
|
32
32
|
spec.add_dependency 'css_parser'
|
33
33
|
spec.add_dependency 'crass'
|
@@ -307,7 +307,13 @@ module Applitools
|
|
307
307
|
def dynamic(*args)
|
308
308
|
options = Applitools::Utils.extract_options! args
|
309
309
|
handle_frames
|
310
|
-
|
310
|
+
padding = options && options[:padding]
|
311
|
+
requested_padding = get_requested_padding(padding, args)
|
312
|
+
padding_proc = proc do |region|
|
313
|
+
dynamic_region = Applitools::DynamicRegion.new(region, options[:type])
|
314
|
+
dynamic_region.padding(Applitools::PaddingBounds.new(**requested_padding)) if requested_padding != {}
|
315
|
+
dynamic_region
|
316
|
+
end
|
311
317
|
|
312
318
|
dynamic_regions << case args.first
|
313
319
|
when ::Selenium::WebDriver::Element
|
@@ -322,9 +328,9 @@ module Applitools
|
|
322
328
|
padding_proc.call(args.first)
|
323
329
|
end
|
324
330
|
when Applitools::Region
|
325
|
-
Applitools::DynamicRegion.new(
|
326
|
-
|
327
|
-
|
331
|
+
dynamic_region = Applitools::DynamicRegion.new(args.first, options[:type])
|
332
|
+
dynamic_region.padding(Applitools::PaddingBounds.new(**requested_padding)) if requested_padding != {}
|
333
|
+
dynamic_region
|
328
334
|
when String
|
329
335
|
proc do |driver, return_element = false|
|
330
336
|
element = driver.find_element(name_or_id: args.first)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eyes_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 6.
|
19
|
+
version: 6.8.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 6.
|
26
|
+
version: 6.8.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: selenium-webdriver
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|