navigationLocked
navigationLocked {boolean}
This property defines whether navigation away from the page is permitted or not. If it is set to true, then the page is locked to the current URL. Defaults to false.
Examples
var webPage = require('webpage');
var page = webPage.create();
// @TODO: Finish page.navigationLocked example.