Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…18836) Now that the patch has been cherry-picked to the release branch reverting it on main. This reverts commit 6deba5d.
- Loading branch information
Showing
13 changed files
with
209 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# class: Storage | ||
* since: v1.28 | ||
* langs: js | ||
|
||
Playwright Test provides a [`method: TestInfo.storage`] object for passing values between project setup and tests. | ||
TODO: examples | ||
|
||
## async method: Storage.get | ||
* since: v1.28 | ||
- returns: <[any]> | ||
|
||
Get named item from the storage. Returns undefined if there is no value with given name. | ||
|
||
### param: Storage.get.name | ||
* since: v1.28 | ||
- `name` <[string]> | ||
|
||
Item name. | ||
|
||
## async method: Storage.set | ||
* since: v1.28 | ||
|
||
Set value to the storage. | ||
|
||
### param: Storage.set.name | ||
* since: v1.28 | ||
- `name` <[string]> | ||
|
||
Item name. | ||
|
||
### param: Storage.set.value | ||
* since: v1.28 | ||
- `value` <[any]> | ||
|
||
Item value. The value must be serializable to JSON. Passing `undefined` deletes the entry with given name. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.