Можно и на конструкторе, типа wix-а.
$driver = RemoteWebDriver::create($host, $capabilities, 5000);
$driver->manage()->timeouts()->implicitlyWait(60);
$driver->get($url);
$driver->wait();
$driver->wait(60, 1000)->until(
function () use ($driver) {
$elements = $driver->findElements(WebDriverBy::cssSelector('#a-match'));
return count($elements) == 1;
},
'Error element'
);
<?php
$films = R::findAll('films');
foreach ($films as $film) {
$array = json_decode($film->category);
foreach($array as $item) {
echo $item;
}
//
};
?>
Тем не менее 0.2 сек не много для него?