PHP code example of dadyday / accepter

1. Go to this page and download the library: Download dadyday/accepter 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/ */

    

dadyday / accepter example snippets



use Accepter\Accept as I;

I::open('demo/deepthought.html');

I::record();


use Accepter\Accept as I;

I::open('demo/deepthought.html');

//* recorded 2018-04-01 11:00:00
I::focus('#question')
    ->enter('the question');

I::wait('#answers li', 10)
    ->isVisible()
    ->hasText('42')
    ->isBold();
// recorded */

I::record();