I’m using selenium php webdriver and php wrapper for browsermob proxy to fetch the access token from facebook. Once the user authetication was sucessfull, the facebook will redirect to
Now I need to read this token. I use the following php code to fetch the response
$har = self::$client->__get("har");
But I’m not able to see the location (above url) in response headers.
My response text is available here:
http://www.karkala.in/har.txt
Selenium itself has got an option to read the url.
Can be achieved without using browsermob proxy.