case JSON_ERROR_UTF8:
echo ' - Некорректные символы UTF-8, возможно неверно закодирован';
break;
array(1) {
["cmd"]=>
array(5) {
["id"]=>
string(13) "5cead72fb9d37"
["name"]=>
string(14) "sendkeypresses"
["timeout"]=>
int(30000)
["options"]=>
array(2) {
["keys"]=>
array(16) {
[0]=>
string(1) "M"
[1]=>
string(1) "�"
[2]=>
string(1) "�"
[3]=>
string(1) "n"
[4]=>
string(1) "c"
[5]=>
string(1) "h"
[6]=>
string(1) "e"
[7]=>
string(1) "n"
[8]=>
string(1) "g"
[9]=>
string(1) "l"
[10]=>
string(1) "a"
[11]=>
string(1) "d"
[12]=>
string(1) "b"
[13]=>
string(1) "a"
[14]=>
string(1) "c"
[15]=>
string(1) "h"
}
["modifiers"]=>
array(0) {
}
}
$windowObj->mouseEventOnElement("[id=City]","leftclick");
$windowObj->sendKeyPresses($city_name);
Warning: mkdir(): Permission denied in /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Tools/FileSystems/Directories.php on line 49
Fatal error: Uncaught Exception: MTS\Common\Tools\FileSystems\Directories::create>> Failed to create directory: /var/www/html/vendor/merlinthemagic/mts/MTS/WorkDirectory/LHB_5ce53d6e76e69 in /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Tools/FileSystems/Directories.php:51 Stack trace: #0 /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Tools/FileSystems/Files.php(38): MTS\Common\Tools\FileSystems\Directories->create(Object(MTS\Common\Data\Computer\FileSystems\Directory)) #1 /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Devices/Actions/Local/Host/Browser.php(52): MTS\Common\Tools\FileSystems\Files->create(Object(MTS\Common\Data\Computer\FileSystems\File)) #2 /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Devices/Actions/Local/Host/Browser.php(13): MTS\Common\Devices\Actions\Local\Host\Browser->execute() #3 /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Devices/Types/Localhost.php(20): MTS\Common\Devices\Actions\Local\Host\Browser->getBrowser('phantomjs', false) #4 /var/www/html/module/test/test.php(7): in /var/www/html/vendor/merlinthemagic/mts/MTS/Common/Tools/FileSystems/Directories.php on line 51
Логиньтесь нормально настроенным (естественным) запросом
Если б они ключи к апи дали то и проблем бы не было, а так вот велосипеды всякие выдумываю...
Пора переходить на другую платформу где доступ к апи по проще получить, к тому же ибею и то за 3 недели полный доступ получил на 1.5кк запросов, а амазон...