playwright-ruby-client 1.39.1 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/docs/api/api_request_context.md +1 -2
- data/documentation/docs/api/browser.md +1 -1
- data/documentation/docs/api/browser_context.md +1 -1
- data/documentation/docs/api/browser_type.md +1 -0
- data/documentation/docs/api/download.md +1 -2
- data/documentation/docs/api/element_handle.md +4 -1
- data/documentation/docs/api/frame.md +4 -1
- data/documentation/docs/api/locator.md +4 -1
- data/documentation/docs/api/locator_assertions.md +11 -1
- data/documentation/docs/api/page.md +6 -3
- data/documentation/docs/article/guides/rails_integration.md +80 -51
- data/documentation/docs/article/guides/rspec_integration.md +59 -0
- data/documentation/docusaurus.config.js +1 -1
- data/documentation/package.json +7 -7
- data/documentation/yarn.lock +4641 -5023
- data/lib/playwright/api_response_impl.rb +2 -2
- data/lib/playwright/channel_owners/api_request_context.rb +12 -3
- data/lib/playwright/channel_owners/browser.rb +11 -7
- data/lib/playwright/channel_owners/browser_context.rb +35 -15
- data/lib/playwright/channel_owners/frame.rb +38 -14
- data/lib/playwright/channel_owners/page.rb +29 -16
- data/lib/playwright/channel_owners/web_socket.rb +8 -13
- data/lib/playwright/connection.rb +18 -2
- data/lib/playwright/errors.rb +20 -2
- data/lib/playwright/input_files.rb +4 -4
- data/lib/playwright/locator_assertions_impl.rb +15 -15
- data/lib/playwright/test.rb +2 -2
- data/lib/playwright/utils.rb +3 -10
- data/lib/playwright/version.rb +2 -2
- data/lib/playwright/waiter.rb +146 -0
- data/lib/playwright.rb +1 -1
- data/lib/playwright_api/api_request_context.rb +1 -2
- data/lib/playwright_api/browser.rb +2 -2
- data/lib/playwright_api/browser_context.rb +3 -3
- data/lib/playwright_api/browser_type.rb +2 -1
- data/lib/playwright_api/download.rb +1 -2
- data/lib/playwright_api/element_handle.rb +4 -1
- data/lib/playwright_api/frame.rb +4 -1
- data/lib/playwright_api/locator.rb +4 -1
- data/lib/playwright_api/locator_assertions.rb +12 -2
- data/lib/playwright_api/page.rb +16 -13
- data/lib/playwright_api/request.rb +4 -4
- data/lib/playwright_api/worker.rb +4 -4
- data/sig/playwright.rbs +6 -6
- metadata +5 -4
- data/lib/playwright/wait_helper.rb +0 -73
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d2ac0187f243c1e1f408f9b2733a4c9f8bd2ea24b95667127ad9e991ae09a61
|
4
|
+
data.tar.gz: cf860a1ea1f67bb33a13041eb5b87ea79035065a374e5f2c099d3f1207ef94a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75db55fb24aea5a6a92ab54d2f50e62a7444b4438eb6a745d0ec8981d04984c6704ef403a3b86e659953fced1b729798d296d516947ee7c9dba12a1e742f572e
|
7
|
+
data.tar.gz: 2c5918e7878c96c5d1ed7ab728757a996006d1a4c47d96f8b2503051a18986da2cf766a91623b005368017a0841404ab938fe5540219f84e2905166d8a2f414c
|
@@ -85,8 +85,7 @@ def dispose
|
|
85
85
|
```
|
86
86
|
|
87
87
|
|
88
|
-
All responses returned by [APIRequestContext#get](./api_request_context#get) and similar methods are stored in the memory, so that you can later call [APIResponse#body](./api_response#body).
|
89
|
-
discards all stored responses, and makes [APIResponse#body](./api_response#body) throw "Response disposed" error.
|
88
|
+
All responses returned by [APIRequestContext#get](./api_request_context#get) and similar methods are stored in the memory, so that you can later call [APIResponse#body](./api_response#body).This method discards all its resources, calling any method on disposed [APIRequestContext](./api_request_context) will throw an exception.
|
90
89
|
|
91
90
|
## fetch
|
92
91
|
|
@@ -68,8 +68,7 @@ def path
|
|
68
68
|
```
|
69
69
|
|
70
70
|
|
71
|
-
Returns path to the downloaded file
|
72
|
-
wait for the download to finish if necessary. The method throws when connected remotely.
|
71
|
+
Returns path to the downloaded file for a successful download, or throws for a failed/canceled download. The method will wait for the download to finish if necessary. The method throws when connected remotely.
|
73
72
|
|
74
73
|
Note that the download's file name is a random GUID, use [Download#suggested_filename](./download#suggested_filename)
|
75
74
|
to get suggested file name.
|
@@ -180,13 +180,16 @@ default.
|
|
180
180
|
|
181
181
|
Since `eventInit` is event-specific, please refer to the events documentation for the lists of initial
|
182
182
|
properties:
|
183
|
+
- [DeviceMotionEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)
|
184
|
+
- [DeviceOrientationEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)
|
183
185
|
- [DragEvent](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)
|
186
|
+
- [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)
|
184
187
|
- [FocusEvent](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)
|
185
188
|
- [KeyboardEvent](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)
|
186
189
|
- [MouseEvent](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)
|
187
190
|
- [PointerEvent](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)
|
188
191
|
- [TouchEvent](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)
|
189
|
-
- [
|
192
|
+
- [WheelEvent](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)
|
190
193
|
|
191
194
|
You can also specify [JSHandle](./js_handle) as the property value if you want live objects to be passed into the event:
|
192
195
|
|
@@ -178,13 +178,16 @@ default.
|
|
178
178
|
|
179
179
|
Since `eventInit` is event-specific, please refer to the events documentation for the lists of initial
|
180
180
|
properties:
|
181
|
+
- [DeviceMotionEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)
|
182
|
+
- [DeviceOrientationEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)
|
181
183
|
- [DragEvent](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)
|
184
|
+
- [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)
|
182
185
|
- [FocusEvent](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)
|
183
186
|
- [KeyboardEvent](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)
|
184
187
|
- [MouseEvent](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)
|
185
188
|
- [PointerEvent](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)
|
186
189
|
- [TouchEvent](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)
|
187
|
-
- [
|
190
|
+
- [WheelEvent](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)
|
188
191
|
|
189
192
|
You can also specify [JSHandle](./js_handle) as the property value if you want live objects to be passed into the event:
|
190
193
|
|
@@ -303,13 +303,16 @@ default.
|
|
303
303
|
|
304
304
|
Since `eventInit` is event-specific, please refer to the events documentation for the lists of initial
|
305
305
|
properties:
|
306
|
+
- [DeviceMotionEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)
|
307
|
+
- [DeviceOrientationEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)
|
306
308
|
- [DragEvent](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)
|
309
|
+
- [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)
|
307
310
|
- [FocusEvent](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)
|
308
311
|
- [KeyboardEvent](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)
|
309
312
|
- [MouseEvent](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)
|
310
313
|
- [PointerEvent](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)
|
311
314
|
- [TouchEvent](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)
|
312
|
-
- [
|
315
|
+
- [WheelEvent](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)
|
313
316
|
|
314
317
|
You can also specify [JSHandle](./js_handle) as the property value if you want live objects to be passed into the event:
|
315
318
|
|
@@ -400,6 +400,11 @@ expect(locator).to contain_text(expected, ignoreCase: nil, timeout: nil, useInne
|
|
400
400
|
|
401
401
|
Ensures the [Locator](./locator) points to an element that contains the given text. You can use regular expressions for the value as well.
|
402
402
|
|
403
|
+
**Details**
|
404
|
+
|
405
|
+
When `expected` parameter is a string, Playwright will normalize whitespaces and line breaks both in the actual text and
|
406
|
+
in the expected string before matching. When regular expression is used, the actual text is matched as is.
|
407
|
+
|
403
408
|
**Usage**
|
404
409
|
|
405
410
|
```ruby
|
@@ -443,7 +448,7 @@ expect(page.locator("ul")).to contain_text(["Text 3"])
|
|
443
448
|
## to_have_attribute
|
444
449
|
|
445
450
|
```ruby
|
446
|
-
expect(locator).to have_attribute(name, value, timeout: nil)
|
451
|
+
expect(locator).to have_attribute(name, value, ignoreCase: nil, timeout: nil)
|
447
452
|
```
|
448
453
|
|
449
454
|
|
@@ -559,6 +564,11 @@ expect(locator).to have_text(expected, ignoreCase: nil, timeout: nil, useInnerTe
|
|
559
564
|
|
560
565
|
Ensures the [Locator](./locator) points to an element with the given text. You can use regular expressions for the value as well.
|
561
566
|
|
567
|
+
**Details**
|
568
|
+
|
569
|
+
When `expected` parameter is a string, Playwright will normalize whitespaces and line breaks both in the actual text and
|
570
|
+
in the expected string before matching. When regular expression is used, the actual text is matched as is.
|
571
|
+
|
562
572
|
**Usage**
|
563
573
|
|
564
574
|
```ruby
|
@@ -152,7 +152,7 @@ When all steps combined have not finished during the specified `timeout`, this m
|
|
152
152
|
## close
|
153
153
|
|
154
154
|
```
|
155
|
-
def close(runBeforeUnload: nil)
|
155
|
+
def close(reason: nil, runBeforeUnload: nil)
|
156
156
|
```
|
157
157
|
|
158
158
|
|
@@ -240,13 +240,16 @@ default.
|
|
240
240
|
|
241
241
|
Since `eventInit` is event-specific, please refer to the events documentation for the lists of initial
|
242
242
|
properties:
|
243
|
+
- [DeviceMotionEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)
|
244
|
+
- [DeviceOrientationEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)
|
243
245
|
- [DragEvent](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)
|
246
|
+
- [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)
|
244
247
|
- [FocusEvent](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)
|
245
248
|
- [KeyboardEvent](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)
|
246
249
|
- [MouseEvent](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)
|
247
250
|
- [PointerEvent](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)
|
248
251
|
- [TouchEvent](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)
|
249
|
-
- [
|
252
|
+
- [WheelEvent](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)
|
250
253
|
|
251
254
|
You can also specify [JSHandle](./js_handle) as the property value if you want live objects to be passed into the event:
|
252
255
|
|
@@ -473,7 +476,7 @@ page.content = <<~HTML
|
|
473
476
|
<button onclick="onClick()">Click me</button>
|
474
477
|
<div></div>
|
475
478
|
HTML
|
476
|
-
page.
|
479
|
+
page.click("button")
|
477
480
|
```
|
478
481
|
|
479
482
|
An example of passing an element handle:
|
@@ -33,7 +33,7 @@ end
|
|
33
33
|
|
34
34
|
### Update timeout
|
35
35
|
|
36
|
-
Capybara sets the default value of timeout to
|
36
|
+
Capybara sets the default value of timeout to _2 seconds_. Generally it is too short to wait for HTTP responses.
|
37
37
|
|
38
38
|
It is recommended to set the timeout to 15-30 seconds for Playwright driver.
|
39
39
|
|
@@ -56,50 +56,50 @@ It is not mandatry. Without changing the default driver, you can still use Playw
|
|
56
56
|
|
57
57
|
These parameters can be passed into `Capybara::Playwright::Driver.new`
|
58
58
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
59
|
+
- `playwright_cli_executable_path`
|
60
|
+
- Refer [this article](./download_playwright_driver) to understand what to specify.
|
61
|
+
- `browser_type`
|
62
|
+
- `:chromium` (default), `:firefox`, or `:webkit`
|
63
|
+
- Parameters for [Playwright::BrowserType#launch](/docs/api/browser_type#launch)
|
64
|
+
- args
|
65
|
+
- channel
|
66
|
+
- `chrome`, `msedge`, `chrome-beta`, `chrome-dev`, `chrome-canary`, `msedge-beta`, `msedge-dev` Browser distribution channel. Read more about using [Google Chrome & Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge)
|
67
|
+
- devtools
|
68
|
+
- downloadsPath
|
69
|
+
- env
|
70
|
+
- executablePath
|
71
|
+
- firefoxUserPrefs
|
72
|
+
- headless
|
73
|
+
- ignoreDefaultArgs
|
74
|
+
- proxy
|
75
|
+
- slowMo
|
76
|
+
- timeout
|
77
|
+
- Parameters for [Playwright::Browser#new_context](/docs/api/browser#new_context)
|
78
|
+
- bypassCSP
|
79
|
+
- colorScheme
|
80
|
+
- deviceScaleFactor
|
81
|
+
- extraHTTPHeaders
|
82
|
+
- geolocation
|
83
|
+
- hasTouch
|
84
|
+
- httpCredentials
|
85
|
+
- ignoreHTTPSErrors
|
86
|
+
- isMobile
|
87
|
+
- javaScriptEnabled
|
88
|
+
- locale
|
89
|
+
- noViewport
|
90
|
+
- offline
|
91
|
+
- permissions
|
92
|
+
- proxy
|
93
|
+
- record_har_omit_content
|
94
|
+
- record_har_path
|
95
|
+
- record_video_dir
|
96
|
+
- record_video_size
|
97
|
+
- screen
|
98
|
+
- serviceWorkers
|
99
|
+
- storageState
|
100
|
+
- timezoneId
|
101
|
+
- userAgent
|
102
|
+
- viewport
|
103
103
|
|
104
104
|
```ruby
|
105
105
|
driver_opts = {
|
@@ -119,14 +119,13 @@ driver_opts = {
|
|
119
119
|
Capybara::Playwright::Driver.new(app, driver_opts)
|
120
120
|
```
|
121
121
|
|
122
|
-
|
123
122
|
## Available functions and Limitations
|
124
123
|
|
125
124
|
### Capybara DSL
|
126
125
|
|
127
126
|
Most of the methods of `Capybara::Session` and `Capybara::Node::Element` are available. However the following method is not yet implemented.
|
128
127
|
|
129
|
-
|
128
|
+
- `Capybara::Node::Element#drop`
|
130
129
|
|
131
130
|
### Playwright-native scripting
|
132
131
|
|
@@ -181,7 +180,6 @@ end
|
|
181
180
|
|
182
181
|
For more details, refer [Recording video](./recording_video.md#using-screen-recording-from-capybara-driver)
|
183
182
|
|
184
|
-
|
185
183
|
### Screenshot just before teardown
|
186
184
|
|
187
185
|
In addition to `Capybara::Session#save_screenshot`, capybara-playwright-driver have another method for storing last screen state just before teardown.
|
@@ -201,8 +199,39 @@ before do |example|
|
|
201
199
|
end
|
202
200
|
```
|
203
201
|
|
202
|
+
### Tracing for postmortem
|
203
|
+
|
204
|
+
Playwright users often expect to see what happened in the browser when the test failed. `capybara-playwright-driver` provides a feature to store the trace easily.
|
205
|
+
|
206
|
+
```ruby
|
207
|
+
before do |example|
|
208
|
+
Capybara.current_session.driver.on_save_trace do |trace_zip_path|
|
209
|
+
Allure.add_attachment(
|
210
|
+
name: "trace - #{example.description}",
|
211
|
+
source: File.read(trace_zip_path),
|
212
|
+
type: 'application/zip',
|
213
|
+
test_case: true,
|
214
|
+
)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
```
|
218
|
+
|
219
|
+
This example code would attach the trace zip file to Allure report for each test case.
|
220
|
+
|
221
|
+
![add trace image](https://user-images.githubusercontent.com/11763113/282307106-520d800b-67ac-4e14-98bb-75a8bbb98a1f.png)
|
222
|
+
|
223
|
+
We can download and show the trace with `playwright show-trace` command.
|
224
|
+
|
225
|
+
```
|
226
|
+
npx playwright show-trace ababcdcdefef.zip
|
227
|
+
```
|
228
|
+
|
229
|
+
![show-trace image](https://user-images.githubusercontent.com/11763113/282307098-a4167c32-d5e7-4631-a3b6-62d278efbeef.png)
|
230
|
+
|
231
|
+
Instead of the easy configuration using `on_save_trace`, we can also use `page.driver.start_tracing` / `page.driver.stop_tracing` or `page.driver.with_trace do { ... }` for storing the trace with detailed options. See [the PR](https://github.com/YusukeIwaki/capybara-playwright-driver/pull/66) for more details including example codes for RSpec.
|
232
|
+
|
204
233
|
### Limitations
|
205
234
|
|
206
|
-
|
207
|
-
|
208
|
-
|
235
|
+
- Playwright doesn't allow clicking invisible DOM elements or moving elements. `click` sometimes doesn't work as Selenium does. See the detail in https://playwright.dev/docs/actionability/
|
236
|
+
- `current_window.maximize` and `current_window.fullscreen` work only on headful (non-headless) mode, as selenium driver does.
|
237
|
+
- `Capybara::Node::Element#drag_to` does not accept `html5` parameter. HTML5 drag and drop is not fully supported in Playwright.
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
sidebar_position: 5
|
3
|
+
---
|
4
|
+
|
5
|
+
# Web-First assertions for RSpec
|
6
|
+
|
7
|
+
Playwright introduces clever assertions for E2E testing, so called [web-first assertions](https://playwright.dev/docs/test-assertions).
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
it 'should show username after login' do
|
11
|
+
page.fill('input[name="username"]', 'playwright')
|
12
|
+
page.fill('input[name="password"]', 'password123')
|
13
|
+
page.expect_navigation do
|
14
|
+
page.locator('button[type="submit"]').click
|
15
|
+
end
|
16
|
+
|
17
|
+
dashboard_container = page.locator('.dashboard')
|
18
|
+
|
19
|
+
# Not web-first assertion
|
20
|
+
expect(dashboard_container.text_content).to include('Hi, playwright!')
|
21
|
+
|
22
|
+
# Web-first assertion
|
23
|
+
expect(dashboard_container).to have_text('Hi, playwright!')
|
24
|
+
end
|
25
|
+
```
|
26
|
+
|
27
|
+
The spec above have 2 similar expectations. The first one is a normal assertion, which is not web-first. The second one is a web-first assertion, which is introduced by Playwright.
|
28
|
+
|
29
|
+
Imagine the case that 'Hi, playwright!' is shown after loading some data from API server. In this case, the first assertion may fail because 'Hi, playwright!' is not present soon after login. On the other hand, the second assertion automatically waits for the 'Hi, playwright!' to be shown.
|
30
|
+
|
31
|
+
## Configure
|
32
|
+
|
33
|
+
For avoiding matcher name conflicts, web-first assertions are not loaded by default. To enable web-first assertions, we have to configure RSpec as below:
|
34
|
+
|
35
|
+
```ruby title=spec/support/web_first_assertion.rb
|
36
|
+
require 'playwright/test'
|
37
|
+
|
38
|
+
RSpec.configure do |config|
|
39
|
+
# include web-first assertions just for feature specs.
|
40
|
+
config.include Playwright::RSpec::Matchers, type: :feature
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
44
|
+
If you want to use web-first assertions only for some specs, you can include `Playwright::RSpec::Matchers` in the spec file directly.
|
45
|
+
|
46
|
+
```ruby title=spec/system/example_spec.rb
|
47
|
+
require 'rails_helper'
|
48
|
+
require 'playwright/test'
|
49
|
+
|
50
|
+
describe 'example' do
|
51
|
+
include Playwright::RSpec::Matchers
|
52
|
+
|
53
|
+
it 'should work' do
|
54
|
+
...
|
55
|
+
```
|
56
|
+
|
57
|
+
## Matchers
|
58
|
+
|
59
|
+
Please refer to [API doc](/docs/api/locator_assertions).
|
@@ -81,7 +81,7 @@ module.exports = {
|
|
81
81
|
],
|
82
82
|
},
|
83
83
|
],
|
84
|
-
copyright: `Copyright © ${new Date().getFullYear()} @YusukeIwaki. <p>Built with <a href="https://
|
84
|
+
copyright: `Copyright © ${new Date().getFullYear()} @YusukeIwaki. <p>Built with <a href="https://docusaurus.io/">Docusaurus</a>.</p>`,
|
85
85
|
},
|
86
86
|
prism: {
|
87
87
|
additionalLanguages: ['bash', 'ruby'],
|
data/documentation/package.json
CHANGED
@@ -14,14 +14,14 @@
|
|
14
14
|
"write-heading-ids": "docusaurus write-heading-ids"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"@docusaurus/core": "^
|
18
|
-
"@docusaurus/preset-classic": "^
|
19
|
-
"@mdx-js/react": "^
|
20
|
-
"@svgr/webpack": "^
|
21
|
-
"clsx": "^
|
17
|
+
"@docusaurus/core": "^3.0.0",
|
18
|
+
"@docusaurus/preset-classic": "^3.0.0",
|
19
|
+
"@mdx-js/react": "^3.0.0",
|
20
|
+
"@svgr/webpack": "^8.1.0",
|
21
|
+
"clsx": "^2.0.0",
|
22
22
|
"file-loader": "^6.2.0",
|
23
|
-
"react": "^18.
|
24
|
-
"react-dom": "^18.
|
23
|
+
"react": "^18.2.0",
|
24
|
+
"react-dom": "^18.2.0",
|
25
25
|
"url-loader": "^4.1.1"
|
26
26
|
},
|
27
27
|
"browserslist": {
|