Navigation
Examples of How to Use NotexAI to Navigate a Webpage
Use Case: Navigate Google Flights to Book a Zurich to San Francisco Flight
1. Start a NotexAI Session
Initiate a new session with NotexAI:
curl --location \
--request POST 'https://api.notexai.pro/session/start' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer your-api-key' \
--data '{
"keep_alive": true,
"session_timeout": 15,
"screenshot": false
}'Response:
{
"session_id": "2684782c-0b6a-4018-9dba-0de11f2e09d8",
"error": null
}2. Observe the Page
Analyze the current state of the target webpage:
Response:
3. Take Action: Enter Origin City (Zurich)
Perform an action on the observed page:
Response:
4. Take Action: Enter Destination City (San Francisco)
Perform another action to specify the destination:
Response: Same as above.
5. Close the Session
End the session after completing the actions:
Response:
Last updated