doc: remove a link to a deleted example (#392)

Refs: https://github.com/GoogleChrome/puppeteer/pull/221
This commit is contained in:
Vse Mozhet Byt 2017-08-19 19:28:58 +03:00 committed by Andrey Lushnikov
parent 628921950f
commit f8515013ab

View File

@ -389,7 +389,7 @@ Adds a function which would be invoked in one of the following scenarios:
- whenever the page is navigated
- whenever the child frame is attached or navigated. In this case, the function is invoked in the context of the newly attached frame
The function is invoked after the document was created but before any of its scripts were run. This is useful to amend JavaScript environment, e.g. to seed [Math.random](https://github.com/GoogleChrome/puppeteer/blob/master/examples/unrandomize.js)
The function is invoked after the document was created but before any of its scripts were run. This is useful to amend JavaScript environment, e.g. to seed `Math.random`.
#### page.exposeFunction(name, puppeteerFunction)
- `name` <[string]> Name of the function on the window object