Summary
There are tons of JavaScript libraries that are useful for manipulating the page content, and some are utilities that are very handy for coding with JavaScript. This feature of loading using third-party libraries with PhantomJS can make it easier for us to code scripts. We should also start building our own libraries using PhantomJS modules that we learned earlier in this chapter. In the next chapter, we will explore the use of testing with PhantomJS, and we will also learn one of the popular JavaScript testing frameworks: Jasmine.