 Thanks Hawk for  your kind response, grappling with this for quite some time
 Thanks Hawk for  your kind response, grappling with this for quite some time
 Thanks Hawk for  your kind response, grappling with this for quite some time
 Thanks Hawk for  your kind response, grappling with this for quite some time
Hi Hawk, 
 This is a excellent code snippet.
One question here - After you have programatically clicked the 'login' button and the page says provides you some json data or some specific headers, How do you capture that.