thanks,i installed zombie still its not working, if u can provide me the 
sample code it will great help, below is my code

var Browser = require("zombie");
var assert = require("assert");

//options
var options = {
headers: {
'user-agent': 'Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 
Firefox/29.0'
},
debug: true,
runScripts: true,
maxWait: '20s' 
};

// Load the page from localhost
browser = new Browser();

browser.on("error", function(error) {
    console.log("Logging error-", error);
});

browser.visit("https://www.macys.com/account/signin?cm_sp=navigation-_-top_nav-_-signin";,
 
options, function () {
  
  browser.fill("email","email need to enter");
  browser.fill("password","password need to enter");
  browser.pressButton("input[name*=accountSignIn]", options, function() {
 console.log(browser.html());

});
  
});


On Sunday, May 25, 2014 5:39:17 PM UTC+5:30, ryandesign wrote:
>
> So you're saying that once you've submitted your username and password to 
> the server, it will respond with an HTTP 3xx redirect, and you'd like to 
> know what that URL is? Sure, you should be able to get node to do that. I'd 
> start with the http client object: 
>
> http://nodejs.org/api/http.html 
>
> There may also be npm modules to help you do this more easily. 
>
>
> On May 24, 2014, at 11:43 PM, sanjib bisoyi 
> <[email protected]<javascript:>> 
> wrote: 
>
> > i dont want see the account summary page in web browser ,i want to see 
> the response url for account summary page. 
>
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/7dfc9ff8-08d0-44ab-b70e-6eee4683f451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to