-
Notifications
You must be signed in to change notification settings - Fork 323
Expand file tree
/
Copy pathworkflow.json
More file actions
104 lines (104 loc) · 4.24 KB
/
workflow.json
File metadata and controls
104 lines (104 loc) · 4.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"workflow_analysis": "The workflow is about checking and paying for a parking ticket using the Philadelphia Parking Authority's online portal. The process involves navigating to the online services hub, accepting the terms of use, searching for a ticket using a ticket number and vehicle details, and viewing details of a ticket. The workflow requires dynamic input such as ticket number and vehicle license plate to search for the ticket.",
"name": "Pay Parking Ticket",
"description": "A workflow to check and pay for a parking ticket through the Philadelphia Parking Authority's online portal.",
"version": "1.0",
"steps": [
{
"description": "Navigate to the PPA Online Service Hub for parking tickets.",
"output": null,
"timestamp": null,
"tabId": null,
"type": "navigation",
"url": "https://onlineserviceshub.com/ParkingPortal/Philadelphia"
},
{
"description": "Agree to the PPA Online Violation Payment Services Terms of Use Agreement.",
"output": null,
"timestamp": 1747416499198,
"tabId": 249360593,
"type": "click",
"cssSelector": "XXXXXXXlabel.checkBoxLabel[for=\"termsAgreement\"]",
"xpath": "XXXXXXXid(\"modalContent\")/form[1]/div[1]/div[2]/div[2]/table[1]/tbody[1]/tr[1]/td[2]/label[1]",
"elementTag": "XXXXXXXLABEL",
"elementText": "XXXXXXXI agree to the PPA Online Violation Payment Services Terms of Use Agreement"
},
{
"description": "Click the Continue button after agreeing to terms.",
"output": null,
"timestamp": 1747416499932,
"tabId": 249360593,
"type": "click",
"cssSelector": "button.button.button--primary.button--full-width.h-100[type=\"submit\"][id=\"disclaimerSubmitBtn\"]",
"xpath": "id(\"disclaimerSubmitBtn\")",
"elementTag": "BUTTON",
"elementText": "Continue"
},
{
"description": "Select search by Ticket/Citation Number.",
"output": null,
"timestamp": 1747416504966,
"tabId": 249360593,
"type": "select_change",
"cssSelector": "select.material-input.material-text-field__drop-down[id=\"searchBy\"]",
"selectedText": "Ticket/Citation Number",
"xpath": "id(\"searchBy\")",
"elementTag": "SELECT"
},
{
"description": "Input the ticket number to search for the parking ticket.",
"output": null,
"timestamp": 1747416525782,
"tabId": 249360593,
"type": "input",
"cssSelector": "input.material-input.material-text-field__input[id=\"otherFirstField\"][name=\"OtherFirstField\"][type=\"text\"]",
"value": "{ticket_number}",
"xpath": "id(\"otherFirstField\")",
"elementTag": "INPUT"
},
{
"description": "Input the vehicle license plate to assist in searching for the parking ticket.",
"output": null,
"timestamp": 1747416528830,
"tabId": 249360593,
"type": "input",
"cssSelector": "input.material-input.material-text-field__input[id=\"otherSecondField\"][name=\"OtherSecondField\"][type=\"text\"]",
"value": "{license_plate}",
"xpath": "id(\"otherSecondField\")",
"elementTag": "INPUT"
},
{
"description": "Click the reCAPTCHA checkbox (targeting the checkmark element).",
"output": null,
"timestamp": 1747416532064,
"tabId": 249360593,
"type": "click",
"cssSelector": "#recaptcha-anchor .recaptcha-checkbox-checkmark",
"xpath": "//span[@id='recaptcha-anchor']/div[@class='recaptcha-checkbox-checkmark']",
"elementTag": "DIV"
},
{
"description": "Click the Search button to find the parking ticket.",
"output": null,
"timestamp": 1747416536531,
"tabId": 249360593,
"type": "click",
"cssSelector": "i.fas.fa-external-link-alt",
"xpath": "id(\"openDetails112650268\")/i[1]",
"elementTag": "I",
"elementText": ""
}
],
"input_schema": [
{
"name": "ticket_number",
"type": "string",
"required": true
},
{
"name": "license_plate",
"type": "string",
"required": true
}
]
}