Update 2000-01-01-title.md

Examples page.title
gh-pages
DlTA 2014-10-30 00:16:09 +02:00
parent 21a409a47c
commit bccbbf759b
1 changed files with 4 additions and 3 deletions

View File

@ -8,9 +8,10 @@ permalink: api/webpage/property/title.html
## Examples
```javascript
var webPage = require('webpage');
var page = webPage.create();
// @TODO: Finish page.title example.
page.open('http://phantomjs.org', function (status) {
console.log(page.title); // get page Title
phantom.exit();
});
```