mirror of https://github.com/vitalif/phantomjs
commit
25b627de18
|
@ -8,9 +8,10 @@ permalink: api/webpage/property/title.html
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var webPage = require('webpage');
|
page.open('http://phantomjs.org', function (status) {
|
||||||
var page = webPage.create();
|
console.log(page.title); // get page Title
|
||||||
// @TODO: Finish page.title example.
|
phantom.exit();
|
||||||
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue