Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nodejs/docs/api/class-apirequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ await apiRequest.newContext(options);
- `keyEncoded` [Object] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Object]
- `value` [Object] *(optional)*


- `valueEncoded` [Object] *(optional)*
Expand Down
2 changes: 1 addition & 1 deletion nodejs/docs/api/class-apirequestcontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ await apiRequestContext.storageState(options);
- `keyEncoded` [Object] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Object]
- `value` [Object] *(optional)*


- `valueEncoded` [Object] *(optional)*
Expand Down
4 changes: 2 additions & 2 deletions nodejs/docs/api/class-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ If directly using this method to create [BrowserContext]s, it is best practice t
- `keyEncoded` [Object] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Object]
- `value` [Object] *(optional)*


- `valueEncoded` [Object] *(optional)*
Expand Down Expand Up @@ -768,7 +768,7 @@ await browser.newPage(options);
- `keyEncoded` [Object] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Object]
- `value` [Object] *(optional)*


- `valueEncoded` [Object] *(optional)*
Expand Down
2 changes: 1 addition & 1 deletion nodejs/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ await browserContext.storageState(options);
- `keyEncoded` [Object] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Object]
- `value` [Object] *(optional)*


- `valueEncoded` [Object] *(optional)*
Expand Down
2 changes: 1 addition & 1 deletion nodejs/docs/api/class-testoptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ export default defineConfig({
- `keyEncoded` [Object] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Object]
- `value` [Object] *(optional)*


- `valueEncoded` [Object] *(optional)*
Expand Down
8 changes: 4 additions & 4 deletions nodejs/docs/test-ui-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npx playwright test --ui

## Running your tests

Once you launch UI Mode you will see a list of all your test files. You can run all your tests by clicking the triangle icon in the sidebar. You can also run a single test file, a block of tests or a single test by hovering over the name and clicking on the triangle next to it.
Once you launch UI Mode you will see a list of all your test files. You can run all your tests by clicking the triangle icon in the sidebar. You can also run a single test file, a block of tests or a single test by hovering over the name and clicking on the triangle next to it.

![running tests in ui mode](https://github.com/microsoft/playwright/assets/13063165/6b87712f-64a5-4d73-a91d-6562b864712c)

Expand All @@ -42,7 +42,7 @@ At the top of the trace you can see a timeline view of your test with different

## Actions

In the Actions tab you can see what locator was used for every action and how long each one took to run. Hover over each action of your test and visually see the change in the DOM snapshot. Go back and forward in time and click an action to inspect and debug. Use the Before and After tabs to visually see what happened before and after the action. ![use before and after actions in ui mode](https://github.com/microsoft/playwright/assets/13063165/7b22fab5-7346-4b98-8fdd-a78ed280647f)
In the Actions tab you can see what locator was used for every action and how long each one took to run. Hover over each action of your test and visually see the change in the DOM snapshot. Go back and forward in time and click an action to inspect and debug. Use the Before and After tabs to visually see what happened before and after the action. ![use before and after actions in ui mode](https://github.com/microsoft/playwright/assets/13063165/7b22fab5-7346-4b98-8fdd-a78ed280647f)

## Pop out and inspect the DOM

Expand All @@ -58,7 +58,7 @@ Click on the pick locator button and hover over the DOM snapshot to see the loca

## Source

As you hover over each action of your test the line of code for that action is highlighted in the source panel.
As you hover over each action of your test the line of code for that action is highlighted in the source panel. The button "Open in VSCode" is at the top-right of this section. Upon clicking the button, it will open your test in VS Code right at the line of code that you clicked on.

![showing source code of tests in ui mode](https://github.com/microsoft/playwright/assets/13063165/49b9fa2a-8a57-4044-acaa-0a2ea4784c5c)

Expand Down Expand Up @@ -106,7 +106,7 @@ Next to the Actions tab you will find the Metadata tab which will show you more

## Watch mode

Next to the name of each test in the sidebar you will find an eye icon. Clicking on the icon will activate watch mode which will re-run the test when you make changes to it. You can watch a number of tests at the same time be clicking the eye icon next to each one or all tests by clicking the eye icon at the top of the sidebar. If you are using VS Code then you can easily open your test by clicking on the file icon next to the eye icon. This will open your test in VS Code right at the line of code that you clicked on.
Next to the name of each test in the sidebar you will find an eye icon. Clicking on the icon will activate watch mode which will re-run the test when you make changes to it. You can watch a number of tests at the same time be clicking the eye icon next to each one or all tests by clicking the eye icon at the top of the sidebar.

![watch mode in ui mode](https://github.com/microsoft/playwright/assets/13063165/20d7d44c-b52d-43ff-8871-8b828671f3da)

Expand Down
2 changes: 1 addition & 1 deletion python/docs/api/class-apirequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ api_request.new_context(**kwargs)
- `keyEncoded` [Dict] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Dict]
- `value` [Dict] *(optional)*


- `valueEncoded` [Dict] *(optional)*
Expand Down
2 changes: 1 addition & 1 deletion python/docs/api/class-apirequestcontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ api_request_context.storage_state(**kwargs)
- `keyEncoded` [Dict] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Dict]
- `value` [Dict] *(optional)*


- `valueEncoded` [Dict] *(optional)*
Expand Down
4 changes: 2 additions & 2 deletions python/docs/api/class-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ await browser.close()
- `keyEncoded` [Dict] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Dict]
- `value` [Dict] *(optional)*


- `valueEncoded` [Dict] *(optional)*
Expand Down Expand Up @@ -734,7 +734,7 @@ browser.new_page(**kwargs)
- `keyEncoded` [Dict] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Dict]
- `value` [Dict] *(optional)*


- `valueEncoded` [Dict] *(optional)*
Expand Down
2 changes: 1 addition & 1 deletion python/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ browser_context.storage_state(**kwargs)
- `keyEncoded` [Dict] *(optional)*

if `key` is not JSON-serializable, this contains an encoded version that preserves types.
- `value` [Dict]
- `value` [Dict] *(optional)*


- `valueEncoded` [Dict] *(optional)*
Expand Down
Loading