Skip to content

Commit

Permalink
chore(main): release 2.12.0 (#589)
Browse files Browse the repository at this point in the history
🤖 I have created a release *beep* *boop*
---


##
[2.12.0](v2.11.2...v2.12.0)
(2023-07-04)


### Features

* use locators in Puppeteer extensions
([#569](#569))
([92d7666](92d7666))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
  • Loading branch information
release-please[bot] authored Jul 4, 2023
1 parent 6a7a1ed commit c81846d
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.11.2"
".": "2.12.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.12.0](https://github.com/puppeteer/replay/compare/v2.11.2...v2.12.0) (2023-07-04)


### Features

* use locators in Puppeteer extensions ([#569](https://github.com/puppeteer/replay/issues/569)) ([92d7666](https://github.com/puppeteer/replay/commit/92d76666abf73de3cb3d1bc0ffc3b7276f4ed376))

## [2.11.2](https://github.com/puppeteer/replay/compare/v2.11.1...v2.11.2) (2023-06-12)


Expand Down
47 changes: 37 additions & 10 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
- [parse](README.md#parse)
- [parseSourceMap](README.md#parsesourcemap)
- [parseStep](README.md#parsestep)
- [selectorToPElementSelector](README.md#selectortopelementselector)
- [stringify](README.md#stringify)
- [stringifyStep](README.md#stringifystep)
- [stripSourceMap](README.md#stripsourcemap)
Expand Down Expand Up @@ -254,7 +255,7 @@ The format is [version, [lineNo, length], [lineNo, length] ... [lineNo, length]]

#### Defined in

[SchemaUtils.ts:563](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L563)
[SchemaUtils.ts:564](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L564)

---

Expand All @@ -264,7 +265,7 @@ The format is [version, [lineNo, length], [lineNo, length] ... [lineNo, length]]

#### Defined in

[SchemaUtils.ts:562](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L562)
[SchemaUtils.ts:563](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L563)

---

Expand All @@ -274,7 +275,7 @@ The format is [version, [lineNo, length], [lineNo, length] ... [lineNo, length]]

#### Defined in

[SchemaUtils.ts:70](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L70)
[SchemaUtils.ts:71](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L71)

---

Expand All @@ -284,7 +285,7 @@ The format is [version, [lineNo, length], [lineNo, length] ... [lineNo, length]]

#### Defined in

[SchemaUtils.ts:64](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L64)
[SchemaUtils.ts:65](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L65)

---

Expand All @@ -294,7 +295,7 @@ The format is [version, [lineNo, length], [lineNo, length] ... [lineNo, length]]

#### Defined in

[SchemaUtils.ts:53](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L53)
[SchemaUtils.ts:54](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L54)

## Functions

Expand All @@ -314,7 +315,7 @@ The format is [version, [lineNo, length], [lineNo, length] ... [lineNo, length]]

#### Defined in

[SchemaUtils.ts:48](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L48)
[SchemaUtils.ts:49](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L49)

---

Expand Down Expand Up @@ -448,7 +449,7 @@ therefore, SelectorType.CSS is the default type if other types didn't match.

#### Defined in

[SchemaUtils.ts:615](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L615)
[SchemaUtils.ts:616](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L616)

---

Expand All @@ -468,7 +469,7 @@ therefore, SelectorType.CSS is the default type if other types didn't match.

#### Defined in

[SchemaUtils.ts:571](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L571)
[SchemaUtils.ts:572](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L572)

---

Expand Down Expand Up @@ -511,7 +512,33 @@ Extracts a source map from a text.

#### Defined in

[SchemaUtils.ts:495](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L495)
[SchemaUtils.ts:496](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L496)

---

### selectorToPElementSelector

**selectorToPElementSelector**(`selector`): `string`

Converts a selector or an array of selector parts into a Puppeteer selector.

**`See`**

https://pptr.dev/guides/query-selectors#p-elements

#### Parameters

| Name | Type |
| :--------- | :--------------------- |
| `selector` | `string` \| `string`[] |

#### Returns

`string`

#### Defined in

[SchemaUtils.ts:630](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L630)

---

Expand Down Expand Up @@ -607,4 +634,4 @@ Stringifes a single step. Only the following hooks are invoked with the `flow` p

#### Defined in

[SchemaUtils.ts:567](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L567)
[SchemaUtils.ts:568](https://github.com/puppeteer/replay/blob/main/src/SchemaUtils.ts#L568)
4 changes: 2 additions & 2 deletions docs/api/classes/LighthouseRunnerExtension.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#### Defined in

[PuppeteerRunnerExtension.ts:47](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L47)
[PuppeteerRunnerExtension.ts:52](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L52)

## Methods

Expand Down Expand Up @@ -181,4 +181,4 @@

#### Defined in

[PuppeteerRunnerExtension.ts:68](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L68)
[PuppeteerRunnerExtension.ts:73](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L73)
4 changes: 2 additions & 2 deletions docs/api/classes/PuppeteerRunnerExtension.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

#### Defined in

[PuppeteerRunnerExtension.ts:47](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L47)
[PuppeteerRunnerExtension.ts:52](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L52)

## Methods

Expand Down Expand Up @@ -170,4 +170,4 @@

#### Defined in

[PuppeteerRunnerExtension.ts:68](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L68)
[PuppeteerRunnerExtension.ts:73](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L73)
6 changes: 3 additions & 3 deletions docs/api/classes/PuppeteerRunnerOwningBrowserExtension.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#### Defined in

[PuppeteerRunnerExtension.ts:47](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L47)
[PuppeteerRunnerExtension.ts:52](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L52)

## Methods

Expand All @@ -61,7 +61,7 @@

#### Defined in

[PuppeteerRunnerExtension.ts:373](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L373)
[PuppeteerRunnerExtension.ts:291](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L291)

---

Expand Down Expand Up @@ -160,4 +160,4 @@

#### Defined in

[PuppeteerRunnerExtension.ts:68](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L68)
[PuppeteerRunnerExtension.ts:73](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L73)
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@puppeteer/replay",
"version": "2.11.2",
"version": "2.12.0",
"description": "Replay is a library which provides an API to replay and stringify recordings created using Chrome DevTools Recorder](https://developer.chrome.com/docs/devtools/recorder/)",
"main": "lib/cjs/main.cjs",
"types": "lib/main.d.ts",
Expand Down

0 comments on commit c81846d

Please sign in to comment.