Document the new method.

This commit is contained in:
Charlie Hess 2015-12-02 13:49:42 -08:00
parent c311c6cf1b
commit 5839df66e4

View file

@ -242,6 +242,13 @@ const options = {"extraHeaders" : "pragma: no-cache\n"}
webContents.loadURL(url, options)
```
### `webContents.downloadURL(url)`
* `url` URL
Initiates a download of the resource at `url` without navigating. The
`will-download` event of `session` will be triggered.
### `webContents.getURL()`
Returns URL of the current web page.