Summary

This chapter shows how to tap into the PhantomJS capability of handling and triggering different events. We have covered different aspects like handling page events and callbacks, sending keyboard events, and simulating mouse events. In the next chapter, we will learn the details on how to capture error messages.

Get Getting Started with PhantomJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.