Waits for end of the filling up field.
Syntax
| C# | |
|---|
public void WaitFieldEmulationDelay() |
Example
The following code example demonstrates uses of the
WaitFieldEmulationDelay method.
| C# | Copy Code |
|---|
// clear cookie
instance.ClearCookie();
// navigate to lessons.zennolab.com
instance.ActiveTab.Navigate("lessons.zennolab.com", "");
// wait for downloading
instance.ActiveTab.WaitDownloading();
// find html element
HtmlElement he = instance.ActiveTab.AllDocuments.Documents[0].FindElementByTag("textarea", 0);
// if html element exist
if (!he.IsNull && !he.IsVoid)
{
// set value
he.SetValue("It's just not a larger text for testing this method. And for showing how to use C# or PHP code for making the nice projects.", "Full", false);
// and wait
instance.WaitFieldEmulationDelay();
}
// but now shows message that all done
System.Windows.Forms.MessageBox.Show("All done", "End of action"); |
| PHP | Copy Code |
|---|
// clear cookie
$instance->ClearCookie();
// navigate to lessons.zennolab.com
$instance->ActiveTab->Navigate("lessons.zennolab.com", "");
// wait for downloading
$instance->ActiveTab->WaitDownloading();
// find html element
$he = $instance->ActiveTab->AllDocuments->Documents[0]->FindElementByTag("textarea", 0);
// if html element exist
if (!$he->IsNull && !$he->IsVoid)
{
// set value
$he->SetValue("It's just not a larger text for testing this method. And for showing how to use C# or PHP code for making the nice projects.", "Full", false);
// and wait
$instance->WaitFieldEmulationDelay();
}
// but now show message that all done
System\Windows\Forms\MessageBox::Show("All done", "End of action"); |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also