-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselectors.json
More file actions
80 lines (80 loc) · 2.04 KB
/
Copy pathselectors.json
File metadata and controls
80 lines (80 loc) · 2.04 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
{
"version": "0.3.7",
"lastVerified": "2026-06-22",
"platforms": {
"chatgpt": {
"turns": [
"article[data-testid^='conversation-turn-']",
"[data-testid='conversation-turn']",
"[data-message-author-role]",
"[data-message-id]"
],
"turnRoleAttr": {
"type": "attr",
"names": ["data-message-author-role", "data-turn"]
},
"messageIdAttr": {
"type": "attr",
"name": "data-message-id"
},
"branchCounter": {
"type": "regex",
"pattern": "^\\d+\\s*/\\s*\\d+$"
},
"branchPrev": [
"[aria-label*='prev' i]",
"[aria-label*='previous' i]",
"[aria-label*='earlier' i]"
],
"branchNext": [
"[aria-label*='next' i]",
"[aria-label*='later' i]"
],
"scrollHost": [
"main"
]
},
"claude": {
"humanTurn": [
"[data-testid='user-message']",
"[data-testid*='user-message']",
"[data-testid='human-turn']",
"[data-testid*='human']",
"[data-message-author-role='user']",
"[class*='font-user-message']",
"[class*='human-turn']",
"[class*='HumanTurn']",
"[class*='UserMessage']",
".font-user-message",
"[class*=\"user-message\"]"
],
"assistantTurn": [
"[data-testid='assistant-turn']",
"[data-testid='assistant-message']",
".font-claude-response",
".font-claude-response-body",
".standard-markdown",
"[class*='font-claude-message']"
],
"branchCounter": {
"type": "regex",
"pattern": "^\\d+\\s*/\\s*\\d+$"
},
"branchPrev": [
"[aria-label*='prev' i]",
"[aria-label*='previous' i]",
"[aria-label*='上一']",
"[aria-label*=\"previous\"]"
],
"branchNext": [
"[aria-label*='next' i]",
"[aria-label*='later' i]",
"[aria-label*='下一']",
"[aria-label*=\"next\"]"
],
"scrollHost": [
"main"
]
}
}
}