Skip to content

Commit 426fb47

Browse files
author
Dennis
committed
Updated config options
1 parent 0496a71 commit 426fb47

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ $.visit('https://www.google.com', function(){
241241

242242
- site: (string, default='') - A base url for the site so that all other 'visit' calls could be relative.
243243
- addJQuery: (boolean, default=TRUE) - TRUE if you need to add jQuery to the page you are visiting, FALSE if the page already adds jQuery.
244-
- jQuery: (string, default='http://code.jquery.com/jquery-1.9.1.min.js') - The CDN url of the jQuery to add to the page if addJQuery is set to TRUE.
244+
- jQuery: (string, default='http://code.jquery.com/jquery-1.11.1.min.js') - The CDN url of the jQuery to add to the page if addJQuery is set to TRUE.
245+
- width: (int, default=1920) - The width of the viewport
246+
- height: (int, default=1080) - The height of the viewport
247+
- userAgent: (string, defaults to phantoms agent) - Set a custom user agent
245248

246249
```javascript
247250
var $ = require('jquerygo');

0 commit comments

Comments
 (0)