This is a readonly mirror for official HumanEmulator/WebEmulator's php client.
- Web: https://github.com/brautomate/php-humanemulator-mirror
- Issues: https://github.com/brautomate/php-humanemulator-mirror/issues
- My email: va@brautomate.ru
HumanEmulator (WebEmulator) - web browser automation & emulation software, also can automate MS Windows (clipboard, local files access, keyboard, mouse, sound).
Read more about HumanEmulator with examples and videos on official website: http://humanemulator.info/?a_aid=brautomate.
<?php
// coding: utf-8
$xhe_host = "127.0.0.1:7010";
$server_password = "xhe instance password";
require("lib/xweb_human_emulator.php");
$bUTF8Ver = true;
$PHP_Use_Trought_Shell=false;
$browser->navigate("http://humanemulator.net/poligon/textarea.html");
$textarea->send_keyboard_input_by_attribute("name", "txt3", true, "New Text\nValue");
if(!$textarea->send_keyboard_input_by_attribute("name", "not-found-attr-name", true, "blah blah blah"))
{
echo "Element in DOM not found.\n";
}
$app->quit();
exit(0);