Skip to content

Commit

Permalink
Fixing stupid typo.
Browse files Browse the repository at this point in the history
Fixes #135.
  • Loading branch information
detro committed Dec 17, 2012
1 parent 3fb0245 commit 7407396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ ghostdriver.Session = function(desiredCapabilities) {
// 6. Applying Page settings received via capabilities
for (k in _pageSettings) {
// Apply setting only if really supported by PhantomJS
if (p.settings.hasOwnProperty(k)) {
if (page.settings.hasOwnProperty(k)) {
page.settings[k] = _pageSettings[k];
}
}
Expand Down

0 comments on commit 7407396

Please sign in to comment.