Build up a solid base for advanced scripting by learning how to write scripts with PhantomJS
About This Video
- Learn to write fully functional scripts in under 80 minutes
- Learn how to handle page rendering and automation
- Harness the essentials of PhantomJS to run scripts in a headless browser with practical examples
PhantomJS enables developers to load, browse, and analyze web pages automatically by writing simple scripts. It's useful for testing web pages that work as expected, monitoring performance, extracting relevant content, simulating user behavior, and producing automatic web page screen shots. PhantomJS saves developers from needing to visit large numbers of web pages just to check how they work.
Rapid PhantomJS will help you to write your own PhantomJS scripts easily in order to perform various testing tasks.
You will begin with a detailed description of the main functionality to build up the base of advanced PhantomJS scripting. You will then move on to learn about the scripting for the four main use cases of PhantomJS, which covers rendering images from any website to avoid visual regression, monitoring network traffic to notice performance degradation, simulating user behavior, and checking the results of your unit testing suite automatically. This is where you will master popular frontend build tools such as make, npm scripting, Grunt, and gulp. These will be set up to help you automate your new developed PhantomJS scripts in any environment.
By the end of the course, you will be able to automate and optimize your workflow with the help of PhantomJS, which leads to higher productivity and products of higher quality.