From ed89c379cb4dd0059a91a473eb1255d68dfb791b Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 20 Apr 2020 10:16:56 -0700 Subject: [PATCH] docs: fix API references --- docs/emulation.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/emulation.md b/docs/emulation.md index 8870c3472c..f180617717 100644 --- a/docs/emulation.md +++ b/docs/emulation.md @@ -83,6 +83,7 @@ Change color scheme for individual pages: #### API reference - [`browser.newContext([options])`](./api.md#browsernewcontextoptions) +- [`page.emulateMedia([options])`](./api.md#pageemulatemediaoptions) - [`page.setViewportSize(viewportSize)`](./api.md#pagesetviewportsizeviewportsize)
@@ -110,13 +111,6 @@ All pages created in the context above will share the same device parameters.
-#### API reference - -- [`browser.newContext([options])`](./api.md#browsernewcontextoptions) -- [`page.emulateMedia([options])`](./api.md#pageemulatemediaoptions) - -
- ## Locale & timezone ```js