fe_core_ext 0.35.0 → 0.35.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: a5e7b2064ab60debcbf11816128170f9962d58b665b397357eaf3dd75b3995cd
4
- data.tar.gz: a471eb764d6d8bbe96e04a64257cfb0b5c8bfa135ab8500780882183fb581880
3
+ metadata.gz: 0fa4965e01eb507a2e7beb4c3d4356708e12f4e6995eab15b649e1166ff8a111
4
+ data.tar.gz: 1e97a6101c440ce2a134d16049849f5185d8486c957c1a8bd69b357c5f6424b3
5
5
  SHA512:
6
- metadata.gz: 87d710cd1646692765abf857aa7d0a964d442eb1a2885e04322c4371591451dadada346c37ec1c3e9e3b1e20f22d976b8cc080113ff4b57ce577bc9a9b679f49
7
- data.tar.gz: af73a4c841a38ecdb51a6c1305a780fad8594930d7a854b0c7d1a94269678ee285e0a0831e93de31fe7d0d26054b4d23d0e452f531e8ae1130ecb8b4695a4a33
6
+ metadata.gz: 21266b07303e1e1800a73273a89d5b48da2fc22f77530a358628411de14ca2b9d5d81ddd8c29ec32a82fdf184fded36e1365bd34f83512007a183fb92496e76d
7
+ data.tar.gz: 820a780fdc143d2b1f7d0c6ddf2f41dc8902583e51f19fbc843c86b100fe3a70e86fc69b7d611994c3abbdefb574fccf6fcfd9da5ea8b5b426f548f3725d5f74
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'forwardable'
3
+ require "forwardable"
4
4
 
5
5
  module Ferrum
6
6
  class Browser
@@ -31,15 +31,6 @@ module Ferrum
31
31
  wait_for_selector(selector, :at_xpath, timeout)
32
32
  end
33
33
 
34
- def with(selector, init:nil, wait:3, step:0.1)
35
- sleep(init) if init
36
- meth = selector.start_with?("/") ? :at_xpath : :at_css
37
- until node = send(meth, selector) rescue nil
38
- (wait -= step) > 0 ? sleep(step) : break
39
- end
40
- node
41
- end
42
-
43
34
  private
44
35
 
45
36
  def wait_for_selector(selector, selector_method, timeout)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FeCoreExt
4
- VERSION = "0.35.0"
4
+ VERSION = "0.35.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe_core_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu