I want to run automated tests that will execute a Javascript file. The JS calls a number of URLs through AJAX calls and image loads, each of which leads to the site being called dropping a cookie.
Since I cannot read those cookies with Javascript, I don't know whether I can actually test this script.
What is the best way of approaching this problem? Browser extensions?