This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = 'http://captive.apple.com/'; | |
var fs = require('fs'); | |
var file = fs.open('credential', 'r'); | |
var credentials = file.read().split('\n'); | |
file.close(); | |
// How often (in milliseconds) the program should check the login status. | |
var checkInterval = 5000; | |
// How long (in millisecond) should be program wait after the submit button | |
// on the login form is pressed before closing the page object. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder