mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix website building (#10777)
This commit is contained in:
parent
2fee2b0adc
commit
8fd0157c95
@ -144,8 +144,9 @@ The following table shows Puppeteer's equivalents to [Protractor By](https://www
|
|||||||
> **Experimental** [Locators API](https://pptr.dev/guides/locators)
|
> **Experimental** [Locators API](https://pptr.dev/guides/locators)
|
||||||
|
|
||||||
| By | Protractor code | Puppeteer querySelector |
|
| By | Protractor code | Puppeteer querySelector |
|
||||||
| ----------------- | ----------------------------------------------------------------- | ------------------------------------------------------------ |
|
| ----------------- | --------------------------------------------- | ------------------------------------------------------------ |
|
||||||
| CSS | Single: `$(by.css('<CSS>'))` <br> Multiple: `$$(by.css('<CSS>'))` | Single: `page.$('<CSS>')` <br> Multiple: `page.$$('<CSS>')` |
|
| CSS (Single) | `$(by.css('<CSS>'))` | `page.$('<CSS>')` |
|
||||||
|
| CSS (Multiple) | `$$(by.css('<CSS>'))` | `page.$$('<CSS>')` |
|
||||||
| Id | `$(by.id('<ID>'))` | `page.$('#<ID>')` |
|
| Id | `$(by.id('<ID>'))` | `page.$('#<ID>')` |
|
||||||
| CssContainingText | `$(by.cssContainingText('<CSS>', '<TEXT>'))` | `page.$('<CSS> ::-p-text(<TEXT>)')` ` |
|
| CssContainingText | `$(by.cssContainingText('<CSS>', '<TEXT>'))` | `page.$('<CSS> ::-p-text(<TEXT>)')` ` |
|
||||||
| DeepCss | `$(by.deepCss('<CSS>'))` | `page.$(':scope >>> <CSS>')` |
|
| DeepCss | `$(by.deepCss('<CSS>'))` | `page.$(':scope >>> <CSS>')` |
|
@ -144,8 +144,9 @@ The following table shows Puppeteer's equivalents to [Protractor By](https://www
|
|||||||
> **Experimental** [Locators API](https://pptr.dev/guides/locators)
|
> **Experimental** [Locators API](https://pptr.dev/guides/locators)
|
||||||
|
|
||||||
| By | Protractor code | Puppeteer querySelector |
|
| By | Protractor code | Puppeteer querySelector |
|
||||||
| ----------------- | ----------------------------------------------------------------- | ------------------------------------------------------------ |
|
| ----------------- | --------------------------------------------- | ------------------------------------------------------------ |
|
||||||
| CSS | Single: `$(by.css('<CSS>'))` <br> Multiple: `$$(by.css('<CSS>'))` | Single: `page.$('<CSS>')` <br> Multiple: `page.$$('<CSS>')` |
|
| CSS (Single) | `$(by.css('<CSS>'))` | `page.$('<CSS>')` |
|
||||||
|
| CSS (Multiple) | `$$(by.css('<CSS>'))` | `page.$$('<CSS>')` |
|
||||||
| Id | `$(by.id('<ID>'))` | `page.$('#<ID>')` |
|
| Id | `$(by.id('<ID>'))` | `page.$('#<ID>')` |
|
||||||
| CssContainingText | `$(by.cssContainingText('<CSS>', '<TEXT>'))` | `page.$('<CSS> ::-p-text(<TEXT>)')` ` |
|
| CssContainingText | `$(by.cssContainingText('<CSS>', '<TEXT>'))` | `page.$('<CSS> ::-p-text(<TEXT>)')` ` |
|
||||||
| DeepCss | `$(by.deepCss('<CSS>'))` | `page.$(':scope >>> <CSS>')` |
|
| DeepCss | `$(by.deepCss('<CSS>'))` | `page.$(':scope >>> <CSS>')` |
|
||||||
|
@ -122,7 +122,7 @@ function spliceIntoSection(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
.inputs(['packages/ng-schematics/README.md'])
|
.inputs(['packages/ng-schematics/README.md'])
|
||||||
.outputs(['docs/ng-schematics.md'])
|
.outputs(['docs/integrations/ng-schematics.md'])
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
await Promise.all([copyMain, updateSupportedList, copyNgSchematics]);
|
await Promise.all([copyMain, updateSupportedList, copyNgSchematics]);
|
||||||
|
@ -22,7 +22,23 @@ module.exports = {
|
|||||||
'guides/debugging',
|
'guides/debugging',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'ng-schematics',
|
{
|
||||||
|
type: 'category',
|
||||||
|
label: 'Integrations',
|
||||||
|
link: {
|
||||||
|
type: 'generated-index',
|
||||||
|
title: 'Puppeteer Integrations',
|
||||||
|
keywords: ['integrations'],
|
||||||
|
},
|
||||||
|
collapsed: false,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
type: 'doc',
|
||||||
|
label: 'Angular Schematics',
|
||||||
|
id: 'integrations/ng-schematics',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
'chromium-support',
|
'chromium-support',
|
||||||
'troubleshooting',
|
'troubleshooting',
|
||||||
'contributing',
|
'contributing',
|
||||||
|
@ -147,8 +147,9 @@ The following table shows Puppeteer's equivalents to [Protractor By](https://www
|
|||||||
> **Experimental** [Locators API](https://pptr.dev/guides/locators)
|
> **Experimental** [Locators API](https://pptr.dev/guides/locators)
|
||||||
|
|
||||||
| By | Protractor code | Puppeteer querySelector |
|
| By | Protractor code | Puppeteer querySelector |
|
||||||
| ----------------- | ----------------------------------------------------------------- | ------------------------------------------------------------ |
|
| ----------------- | --------------------------------------------- | ------------------------------------------------------------ |
|
||||||
| CSS | Single: `$(by.css('<CSS>'))` <br> Multiple: `$$(by.css('<CSS>'))` | Single: `page.$('<CSS>')` <br> Multiple: `page.$$('<CSS>')` |
|
| CSS (Single) | `$(by.css('<CSS>'))` | `page.$('<CSS>')` |
|
||||||
|
| CSS (Multiple) | `$$(by.css('<CSS>'))` | `page.$$('<CSS>')` |
|
||||||
| Id | `$(by.id('<ID>'))` | `page.$('#<ID>')` |
|
| Id | `$(by.id('<ID>'))` | `page.$('#<ID>')` |
|
||||||
| CssContainingText | `$(by.cssContainingText('<CSS>', '<TEXT>'))` | `page.$('<CSS> ::-p-text(<TEXT>)')` ` |
|
| CssContainingText | `$(by.cssContainingText('<CSS>', '<TEXT>'))` | `page.$('<CSS> ::-p-text(<TEXT>)')` ` |
|
||||||
| DeepCss | `$(by.deepCss('<CSS>'))` | `page.$(':scope >>> <CSS>')` |
|
| DeepCss | `$(by.deepCss('<CSS>'))` | `page.$(':scope >>> <CSS>')` |
|
||||||
|
Loading…
Reference in New Issue
Block a user