javascript - HTML automatic site login filling. value with no parameters -


the website im trying login has following username field

 <input type="text" id="inputemailhandle" name="inputemailhandle" value> 

im using zombie headless browser , nodejs, zombie cannot find input field named "inputemailhandle" cannot automatically log in, think because of value> there anyway can around it? or know way javascript , nodejs?

ps website im trying log craigslist

here's code

var browser = require("zombie"); var assert = require("assert");  browser = new browser() browser.visit("https://accounts.craigslist.org", function () {   browser.     fill("inputemailhandle", "person@email.com").     fill("inputpassword", "password").     pressbutton("button", function() {       console.log("logged innnnn!!!");       assert.ok(browser.success);     }) }); 

the website running iso-8859-1 encoding, apparently not supported zombie... why not finding anything


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -