coelacanth 0.3.5 → 0.3.6

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: d0ab9f01d8340c5b71d9c871b8ac361ccd937a64b672307c1de711b413de3564
4
+ data.tar.gz: 80869420b32b8e07e22e9402fef1576ad6f580a03920cd3451cf82a5e863a1cc
5
5
  SHA512:
6
- metadata.gz: 10ae872e1777c747b0b82fc9ed63bff4c9840143fbb2dc958a4d41a609fe7a25a0576e387edda882ebbe8045281b20069ca91e2995a48474a4cbdb35669b1bba
7
- data.tar.gz: f139d375c6c08842bf28a114eac1984a7010c9aeb90e87a8ab85f3d857ead9438d1820d6cd69249c6b1fb6616d447bd4a5b805af1e6700230cd7fed90b775323
6
+ metadata.gz: 684509999046fd8dfc0d95e7d2fedb6442d74776a5d961892126dae6131ec2fa1fd0b3f43e8f91952b0c14e47148acebb4dd3af72b1674a5a8edbda892283930
7
+ data.tar.gz: 11b92413b5c6d3d5d3d24e7c0bb8d14c32e1ad026b10b402001ee76a02a89b73b6c966b83c394cc857d6f72811e8083bf4dbe92decc1211623abff1dc664d087
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.6"
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke