Check if a window element appears

Updated at:

1. Component introduction

Note

Prerequisite component: Get window

This component checks if a window element appears.

2. Input parameters

Note

For information about each input parameter, see the help text in the component panel of the application flow editor.

3. Output parameters

Note

For information about each output parameter, see the help text in the component panel of the application flow editor.

4. Component usage example

4.1. Configuration example

  1. In Opened window object, select v_win_obj_1, the output of the previous Get Window component.

  2. Set Input box control to the Baidu input box control obtained from the Capture control component.

  3. Keep the default values for the advanced options.

4.2. Execution result

None

5. Example flow

Setup flow

  1. Use the Open new web page component to open the Baidu website in a Chrome browser.

  2. Use the Check if web page element appears component to check whether a specific element has loaded on the page.

  3. Use the Record log component to print the result that the Check if web page element appears component returns.

image

Execution result

After the flow runs, the result is printed to the log panel, as shown in the following figure.