This repository was archived by the owner on Nov 24, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Chromeless provides TypeScript typings.
2020- [ ` mousedown() ` ] ( #api-mousedown ) - Not implemented yet
2121- [ ` mouseup() ` ] ( #api-mouseup ) - Not implemented yet
2222- [ ` scrollTo(x: number, y: number) ` ] ( #api-scrollto )
23- - [ ` setDocumentContent (html: string)` ] ( #api-setdocumentcontent )
23+ - [ ` setHtml (html: string)` ] ( #api-sethtml )
2424- [ ` viewport(width: number, height: number) ` ] ( #api-viewport )
2525- [ ` evaluate<U extends any>(fn: (...args: any[]) => void, ...args: any[]) ` ] ( #api-evaluate )
2626- [ ` inputValue(selector: string) ` ] ( #api-inputvalue )
@@ -256,9 +256,9 @@ await chromeless.scrollTo(500, 0)
256256
257257---------------------------------------
258258
259- <a name =" api-setdocumentcontent " />
259+ <a name =" api-sethtml " />
260260
261- ### setDocumentContent (html: string): Chromeless<T >
261+ ### setHtml (html: string): Chromeless<T >
262262
263263Sets given markup as the document's HTML.
264264
@@ -268,7 +268,7 @@ __Arguments__
268268__ Example__
269269
270270``` js
271- await chromeless .setDocumentContent (' <h1>Hello world!</h1>' )
271+ await chromeless .setHtml (' <h1>Hello world!</h1>' )
272272```
273273
274274---------------------------------------
You can’t perform that action at this time.
0 commit comments