puppeteer-ruby 0.34.1 → 0.34.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 759579a77012a03fa74915957ff0c3ed656ea4cdcc280b2f24fede885d01f361
4
- data.tar.gz: 390f5ef626fb791dc9744cfe59a977fcd3a9d45c16d32aec60247a652ef73712
3
+ metadata.gz: 2b57897093b83b5817c3fc7e533542cc817cda1299b5cece2a05d9d7850cce8c
4
+ data.tar.gz: 39b21af3b69fee33fa3e191bd93f11efde50b20e26e5b24b0ea82a8a2e44bc3d
5
5
  SHA512:
6
- metadata.gz: aa0d6262ed3953a9b15efc2fdad2be48cd6b22cba0f1b89d7c93b0b9cbd52413705f60fe334cbb57b5f6eabffbb599b98db520859bd1239406def453ca314228
7
- data.tar.gz: 84632098cf49cf5201528e2ac620321b83210bfb4f0a5bd6fae48a86fb5009a8c4e791b666eaf82b110eb4fc55a569723266e850381fe1b7dda49bd9830422d2
6
+ metadata.gz: 8cf6ae4da0e3dd3b21090dd792b1611726022665e61c8ee9c0f8de9451445f723192d0b1fc5e8f22a8cfdeb17b62059d97bb4570f47b13789b296f59b1e2e532
7
+ data.tar.gz: 83aa119d4469e380fbd7d9fb81240a976d3ee7d465eb7ee3c662c65187c1161c6711df73dab88f47f404ea01dd2ddb3299307be7e0f78c9eb068edb44e4b11df
data/CHANGELOG.md CHANGED
@@ -1,7 +1,13 @@
1
- ### master [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.34.1...master)]
1
+ ### master [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.34.2...master)]
2
2
 
3
3
  * xxx
4
4
 
5
+ ### 0.34.2 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.34.1...0.34.2)]
6
+
7
+ New features:
8
+
9
+ * Add `Page#bring_to_front`.
10
+
5
11
  ### 0.34.1 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.34.0...0.34.1)]
6
12
 
7
13
  Bugfix:
data/docs/api_coverage.md CHANGED
@@ -70,7 +70,7 @@
70
70
  * addScriptTag => `#add_script_tag`
71
71
  * addStyleTag => `#add_style_tag`
72
72
  * authenticate
73
- * ~~bringToFront~~
73
+ * bringToFront => `#bring_to_front`
74
74
  * browser
75
75
  * browserContext => `#browser_context`
76
76
  * click
@@ -767,6 +767,11 @@ class Puppeteer::Page
767
767
  end
768
768
  end
769
769
 
770
+ # Brings page to front (activates tab).
771
+ def bring_to_front
772
+ @client.send_message('Page.bringToFront')
773
+ end
774
+
770
775
  # @param device [Device]
771
776
  def emulate(device)
772
777
  self.viewport = device.viewport
@@ -1,3 +1,3 @@
1
1
  module Puppeteer
2
- VERSION = '0.34.1'
2
+ VERSION = '0.34.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppeteer-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.1
4
+ version: 0.34.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby