Interacting With the Page
Simplex provides a variety of functions that you can use to interact with the page.
Actions
There are two types of actions Simplex exposes: agentic actions, which call our custom web agents, and non-agentic actions, which are traditional browser automation actions like going to a web page, typing in text, or emulating key presses.
Agentic actions: agentic, click, click_and_upload, click_and_download, hover, exists, get_dropdown_options, and scroll_to_element.
Non-agentic actions: goto, type, press_enter, scroll, wait, and reload.
We used the goto and wait actions in the Sessions example. In the following example, we display the click, type, press_tab, press_enter, and exists actions.
Extractors
Simplex currently provides one extractor — extract_text.
This will extract the title of the first search result from data.gov.