playwright-ruby-client 1.15.0 → 1.16.beta1

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: 713f6bab2d64c7b9315e680ea5c94946ed2108763534959d586ca841a249a5a3
4
- data.tar.gz: 2cd01a6413698de9d0c414153846282516ebabc5e386e8ece152523277e3da2f
3
+ metadata.gz: ac716fcd59a6c1b520004d0c5797dadaf77d8a5ec78dd60903cd424a2d9569ca
4
+ data.tar.gz: 6ec8fb266d6ce38229ee17e68dec62e5ba42edb09ddd59814242fe5dd757c157
5
5
  SHA512:
6
- metadata.gz: d8dc6824ec2d34c1659f242e42b221c6ed8278b85cd931912c1610ee82a1cf89a71771a21949c30eeea436183c05cdafa745e0c9decc7d2e676406f4c5c24397
7
- data.tar.gz: f138cd13891e77502ee9c7643720b120216be1757cb089c5e1b4e2c42e43ac037f23fb2341023cc1109a94530787b712cb57853209b61862ad6a426a69308554
6
+ metadata.gz: 3c3fc4e0689b164b90791c9c288895966de3c42275df2c46f89fcd19999df2d830dd9fa081532d106a178ae17cd18807240ab3fe3c07f287f9906777b3bb0c72
7
+ data.tar.gz: cec2ee542633b9b7c803de01fc3b700a7b78eeac15e156dca97d99b62f9142c9f749e90a006b44bf9d7108ffeed63329b64003da53603fd02fcb75374f6a33e1
@@ -677,3 +677,21 @@ If the element is detached from the DOM at any moment during the action, this me
677
677
 
678
678
  When all steps combined have not finished during the specified `timeout`, this method throws a `TimeoutError`. Passing
679
679
  zero timeout disables this.
680
+
681
+ ## wait_for
682
+
683
+ ```
684
+ def wait_for(state: nil, timeout: nil)
685
+ ```
686
+
687
+ Returns when element specified by locator satisfies the `state` option.
688
+
689
+ If target element already satisfies the condition, the method returns immediately. Otherwise, waits for up to `timeout`
690
+ milliseconds until the condition is met.
691
+
692
+ ```ruby
693
+ order_sent = page.locator("#order-sent")
694
+ order_sent.wait_for
695
+ ```
696
+
697
+
@@ -441,6 +441,7 @@
441
441
  * text_content
442
442
  * type
443
443
  * uncheck
444
+ * wait_for
444
445
 
445
446
  ## Android
446
447
 
@@ -14,8 +14,8 @@
14
14
  "write-heading-ids": "docusaurus write-heading-ids"
15
15
  },
16
16
  "dependencies": {
17
- "@docusaurus/core": "^2.0.0-beta.5",
18
- "@docusaurus/preset-classic": "^2.0.0-beta.5",
17
+ "@docusaurus/core": "^2.0.0-beta.6",
18
+ "@docusaurus/preset-classic": "^2.0.0-beta.6",
19
19
  "@mdx-js/react": "^1.6.21",
20
20
  "@svgr/webpack": "^5.5.0",
21
21
  "clsx": "^1.1.1",