PHP code example of bewil19 / php-undected-webdriver
1. Go to this page and download the library: Download bewil19/php-undected-webdriver 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/ */
bewil19 / php-undected-webdriver example snippets
use UndectedWebdriver\Chrome;
'https://nowsecure.nl',
'https://bot.sannysoft.com/',
];
$example = new $browser();
foreach ($sites as $site) {
$example->get($site);
$a = 0;
while ($a <= 10) {
sleep(5);
++$a;
}
}
$example->driver()->close();