coelacanth 0.3.5 → 0.3.7

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: 41aad54c94809f8a2ebcc11887b5a53e031458b27f189a45dbfb218cdd0a21e4
4
- data.tar.gz: 8578d206cf4ad6006fdb5853ff56771e98d019ef0269815ae1e98697404e7f6a
3
+ metadata.gz: a9cde2dc7423280f6c872e9f63ba42391d42a6fc34692424b32fe634b9661089
4
+ data.tar.gz: 133f914a1596ac1630050c6a070629260958ed45d2a086ea3ae29752816c6048
5
5
  SHA512:
6
- metadata.gz: 10ae872e1777c747b0b82fc9ed63bff4c9840143fbb2dc958a4d41a609fe7a25a0576e387edda882ebbe8045281b20069ca91e2995a48474a4cbdb35669b1bba
7
- data.tar.gz: f139d375c6c08842bf28a114eac1984a7010c9aeb90e87a8ab85f3d857ead9438d1820d6cd69249c6b1fb6616d447bd4a5b805af1e6700230cd7fed90b775323
6
+ metadata.gz: d5faecc2919b8dc5b38b1b35df2b7bfb243ce22342aa7689f6b8e27de7bcf4c9cee43eb14d8231a9efde8df7822c129026aedc3e87a399dc878a76134ce30e34
7
+ data.tar.gz: bef880be3dca56cab95599f57999a74de692d75e6816b161a8c75ebf6d62234e4b087494377daba4bd1c96c93c662f3ce30372a408359db7e68fd03869ecde53
data/Gemfile.lock CHANGED
@@ -24,8 +24,8 @@ GEM
24
24
  webrick (~> 1.7)
25
25
  websocket-driver (~> 0.7)
26
26
  hashdiff (1.1.2)
27
- json (2.11.3)
28
- language_server-protocol (3.17.0.4)
27
+ json (2.12.2)
28
+ language_server-protocol (3.17.0.5)
29
29
  lint_roller (1.1.0)
30
30
  oga (3.4)
31
31
  ast
@@ -54,7 +54,7 @@ GEM
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.13.0)
56
56
  rspec-support (3.13.2)
57
- rubocop (1.75.5)
57
+ rubocop (1.75.7)
58
58
  json (~> 2.3)
59
59
  language_server-protocol (~> 3.17.0.2)
60
60
  lint_roller (~> 1.1.0)
@@ -20,8 +20,8 @@ module Coelacanth::Client
20
20
 
21
21
  def get_screenshot
22
22
  tempfile = Tempfile.new
23
+ remote_client.network.wait_for_idle! # まずJSの完了を待つ
23
24
  remote_client.screenshot(path: tempfile.path, format: "png")
24
- remote_client.network.wait_for_idle! # might raise an error
25
25
  File.read(tempfile.path)
26
26
  end
27
27
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coelacanth
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coelacanth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke