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.
Stefan Judis lives in Berlin and has been developing websites using popular frontend technologies like Grunt, Gulp, RequireJS, and BackboneJS for five years. He fell heavily in love with open source, automation, and tooling. He is the maintainer of two Grunt plugins that are based on PhantomJS, which help avoiding visual regression and making it easier to gain frontend-related performance metrics (grunt-photobox and grunt-phantomas).
Explanation of what a browser is and how it works in general. Go to the topic of browser rendering engines and understand what PhantomJS is and which relation exists with WebKit.
It's a headless browser. Demonstration of why this can be useful in many cases by presenting multiple examples.
Explaining two different installation processes for PhantomJS.
Describe and use PhantomJS's phantom API.
Describe and use PhantomJS's system API.
Go to the principle of page rendering with PhantomJS by showing and using the webpage object in detail.
Open a webpage, analyze the markup, and read/print it with PhantomJS.
React to all the loaded assets and figure out how to filter images in order to display them in the command line.
Go into the basic principles of frontend unit testing frameworks and explain implementation with PhantomJS (it's a bit too complex to implement it ourselves).
Make clear which values these tools have and show how easy the usage is.
Make clear how to implement make and npm scripting.
Make clear how to implement grunt and gulp and demonstrate the fairly simple setup.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.