PHP code example of diffy-website / diffy-cli

1. Go to this page and download the library: Download diffy-website/diffy-cli library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

diffy-website / diffy-cli example snippets

shell script
php diffy browserstack:save-credentials <username> <access_key>
shell script
php diffy browserstack:browsers-list
shell script
php diffy browserstack:screenshot PROJECT_ID http://url-of-the-site.com safari--6.0--OS__X--Lion,firefox--39.0--Windows--8 --wait=10
shell script
php diffy lambdatest:save-credentials <username> <access_token>
shell script
php diffy lambdatest:browsers-list
shell script
php diffy lambdatest:screenshot PROJECT_ID http://url-of-the-site.com  --wait=10 windows__10--opera--75,windows__10--chrome--90