Download the PHP package namshi/voyeur-bundle without Composer
On this page you can find all versions of the php package namshi/voyeur-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download namshi/voyeur-bundle
More information about namshi/voyeur-bundle
Files in namshi/voyeur-bundle
Package voyeur-bundle
Short Description A voyeur, but this one is decent enough.
License MIT
Informations about the package voyeur-bundle
NAMSHI | VoyeurBundle
This bundle is made to ease testing and comparing frontend changes in your applications.
With it, you can first take screenshots of your webpages and then compare them.
A common scenario is to check differences
between one particular version of your application
and another one (for example, master
and develop
).
Voyeur
In order to start taking screenshots, you will just need to configure services and parameters:
You will have to tell the bundle with which browsers you want to take screenshots, at which URLs, a base URL and a directory where the screenshots will be saved.
Then, configure the services:
which are basically instances of the Selenium2 driver, which will be used by Voyeur.
Last step is to launch Voyeur from the command line:
Voyeur:diff
To generate the diffs between different screenshots captured by Voyeur, just trigger the command:
You can also specify the path to save the diffs at:
otherwise they will be saved at path/to/other/screenshots
.
Testing different websites
You can optionally specify different configurations:
and then run Voyeur with the specified configuration:
The example above will run Voyeur on google.de
, instead of .com
.