mirror of https://github.com/vitalif/phantomjs
parent
21a409a47c
commit
bccbbf759b
|
@ -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();
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue