# Check Element Existence

Checks for the presence of a specified element on the web page. If the element is found, the script execution will continue through the "Yes" exit; otherwise, it will continue through the "No" exit.

<table data-header-hidden><thead><tr><th width="252" valign="top"></th><th width="296" valign="top"></th></tr></thead><tbody><tr><td valign="top">Selector</td><td valign="top">[Selector] The identifier of the browser window and the web page element.</td></tr><tr><td valign="top">Process ID</td><td valign="top"><p>[Link] A variable that stores the process and tab ID of the browser used by this block.</p><p>If the property is left empty, or if the "Process ID" variable was not previously assigned at the time of opening the browser, the application and browser tab will be determined from the content of the corresponding selector line.</p><p>The process ID can be obtained, for example, using the "Launch IE", "Launch Chrome", or "Attach to Browser" blocks.</p></td></tr><tr><td valign="top">Timeout</td><td valign="top">[Number] The maximum timeout in seconds.</td></tr><tr><td valign="top">Auto-scrolling</td><td valign="top">If selected, the list will automatically scroll to the element that is out of the visible area.</td></tr><tr><td valign="top">Result</td><td valign="top">[Boolean] The result of the element check. If the element is found, the value will be $true; otherwise, it will be $false.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Exit Direction</td><td valign="top"><p>Select the exit direction from the block in case of an error. Possible values:</p><ul><li>"Default" - default;</li><li>"Right" - to the right;</li><li>"Bottom" - down.</li></ul><p>This property allows you to determine the exit direction in case of errors for blocks that do not contain the "If Error" connector (for example, the "Condition" block).</p><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during operation. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>
