Skip to content

Commit

Permalink
Ensure ### Example in all pages for consistency
Browse files Browse the repository at this point in the history
Resolves: #789 (comment)
  • Loading branch information
ankur22 committed Sep 8, 2022
1 parent 0013fda commit 43f626f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A new Browser instance (hence a new browser process) can be created using the `l
| [browser.on('disconnected')](/javascript-api/xk6-browser/browser/on) | Detects the disconnected event from the browser application. |
| [browser.version()](/javascript-api/xk6-browser/browser/version) | Returns the browser application's version. |

An example of using a Browser to create a [Page](/javascript-api/xk6-browser/page):
### Example

```javascript
import { chromium } from 'k6/x/browser';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Allows you to access all open [BrowserContext](/javascript-api/xk6-browser/brows
| Array | Array of [BrowserContext](/javascript-api/xk6-browser/browsercontext/) objects |


## Example
### Example

<!-- eslint-skip -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The returned promise will be resolved when the Browser disconnects from the brow
| ------- | ------------------------------------------------------------------------------- |
| promise | On returns a Promise that is resolved when the browser process is disconnected. |

## Example
### Example

<!-- eslint-skip -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ excerpt: "xk6-browser: Page Class"
| <a href="https://playwright.dev/docs/api/class-page#page-mouse" target="_blank" >mouse</a> | - | - |
| <a href="https://playwright.dev/docs/api/class-page#page-touchscreen" target="_blank" >touchscreen</a> | - | - |

## Examples
### Example

```javascript
import { chromium } from 'k6/x/browser';
Expand Down

0 comments on commit 43f626f

Please sign in to comment.