playwright-ruby-client 1.15.1 → 1.16.beta1

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: 36f932a83b81283925520630e54a3c4b578d3231f2540f49ce27acf206c14e1e
4
- data.tar.gz: 13d5171781c20e6aba7df33828c2ec569d975328de72dff21bb31ae8d51838ea
3
+ metadata.gz: ac716fcd59a6c1b520004d0c5797dadaf77d8a5ec78dd60903cd424a2d9569ca
4
+ data.tar.gz: 6ec8fb266d6ce38229ee17e68dec62e5ba42edb09ddd59814242fe5dd757c157
5
5
  SHA512:
6
- metadata.gz: e25671c14ede2650a5cd2a2a9e2542e7c629e8bb4ff64c57fff23c91cf9b6cfdfda2549944118659a3a4db968c27c037b74e18e042d5d7c74f1dac9f073a6d50
7
- data.tar.gz: 05c22aaeb2cf8cdb61ed1f7ad67222ded55a8b14be33c7f1d8fb24dbb22e7040bd888216335e03b02dec716e0e3eb4f87351f9fddc28fae2dcd0cf04b311bbc8
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",