cbrowser 18.63.0 → 18.63.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/docs/ASSESSMENT.md +0 -132
- package/docs/AUTH0-SETUP.md +0 -207
- package/docs/COGNITIVE-OPTIMAL-TRANSPORT-RESEARCH.md +0 -238
- package/docs/DEMO-DEPLOYMENT.md +0 -177
- package/docs/ENTERPRISE-INTEGRATION.md +0 -250
- package/docs/GETTING-STARTED.md +0 -232
- package/docs/INSTALL.md +0 -274
- package/docs/MCP-INTEGRATION.md +0 -301
- package/docs/METHODOLOGY.md +0 -276
- package/docs/PERSONA-QUESTIONNAIRE.md +0 -328
- package/docs/README.md +0 -45
- package/docs/REMOTE-MCP-SERVER.md +0 -569
- package/docs/SECURITY_WHITEPAPER.md +0 -475
- package/docs/STRESS-TEST-v16.14.4.md +0 -241
- package/docs/Tool-Cognitive-Journey-Autonomous.md +0 -270
- package/docs/Tool-Competitive-Benchmark.md +0 -293
- package/docs/Tool-Empathy-Audit.md +0 -331
- package/docs/Tool-Hunt-Bugs.md +0 -305
- package/docs/Tool-Marketing-Campaign.md +0 -298
- package/docs/Tool-Persona-Create.md +0 -274
- package/docs/Tools-Accessibility.md +0 -208
- package/docs/Tools-Browser-Automation.md +0 -311
- package/docs/Tools-Cognitive-Journeys.md +0 -233
- package/docs/Tools-Marketing-Intelligence.md +0 -271
- package/docs/Tools-Overview.md +0 -162
- package/docs/Tools-Persona-System.md +0 -300
- package/docs/Tools-Session-State.md +0 -278
- package/docs/Tools-Testing-Quality.md +0 -257
- package/docs/Tools-Utilities.md +0 -182
- package/docs/Tools-Visual-Performance.md +0 -278
- package/docs/hunt-bugs-coverage.md +0 -103
- package/docs/personas/Persona-ADHD.md +0 -141
- package/docs/personas/Persona-ElderlyUser.md +0 -137
- package/docs/personas/Persona-FirstTimer.md +0 -137
- package/docs/personas/Persona-ImpatientUser.md +0 -138
- package/docs/personas/Persona-Index.md +0 -302
- package/docs/personas/Persona-LowVision.md +0 -139
- package/docs/personas/Persona-MobileUser.md +0 -139
- package/docs/personas/Persona-MotorTremor.md +0 -139
- package/docs/personas/Persona-PowerUser.md +0 -135
- package/docs/personas/Persona-ScreenReaderUser.md +0 -139
- package/docs/research/Bibliography.md +0 -275
- package/docs/research/Research-Methodology.md +0 -244
- package/docs/research/Values-Research.md +0 -432
- package/docs/traits/Trait-AnchoringBias.md +0 -227
- package/docs/traits/Trait-AttributionStyle.md +0 -280
- package/docs/traits/Trait-AuthoritySensitivity.md +0 -141
- package/docs/traits/Trait-ChangeBlindness.md +0 -171
- package/docs/traits/Trait-Comprehension.md +0 -180
- package/docs/traits/Trait-Curiosity.md +0 -189
- package/docs/traits/Trait-EmotionalContagion.md +0 -144
- package/docs/traits/Trait-FOMO.md +0 -150
- package/docs/traits/Trait-Index.md +0 -166
- package/docs/traits/Trait-InformationForaging.md +0 -217
- package/docs/traits/Trait-InterruptRecovery.md +0 -249
- package/docs/traits/Trait-MentalModelRigidity.md +0 -228
- package/docs/traits/Trait-MetacognitivePlanning.md +0 -164
- package/docs/traits/Trait-Patience.md +0 -137
- package/docs/traits/Trait-Persistence.md +0 -165
- package/docs/traits/Trait-ProceduralFluency.md +0 -205
- package/docs/traits/Trait-ReadingTendency.md +0 -216
- package/docs/traits/Trait-Resilience.md +0 -162
- package/docs/traits/Trait-RiskTolerance.md +0 -162
- package/docs/traits/Trait-Satisficing.md +0 -181
- package/docs/traits/Trait-SelfEfficacy.md +0 -199
- package/docs/traits/Trait-SocialProofSensitivity.md +0 -155
- package/docs/traits/Trait-TimeHorizon.md +0 -267
- package/docs/traits/Trait-TransferLearning.md +0 -249
- package/docs/traits/Trait-TrustCalibration.md +0 -227
- package/docs/traits/Trait-WorkingMemory.md +0 -192
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
> **This documentation is no longer maintained here.**
|
|
2
|
-
>
|
|
3
|
-
> For the latest version, please visit: **[Persona System Tools](https://cbrowser.ai/docs/Tools-Persona-System)**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Persona System Tools
|
|
8
|
-
|
|
9
|
-
**Test your site through the eyes of real user types, not imaginary "average users."**
|
|
10
|
-
|
|
11
|
-
These 15 tools let you create, customize, and inspect cognitive personas backed by 25 research-validated traits and Schwartz's universal values framework. Every persona behaves differently because they *think* differently.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## When to Use These Tools
|
|
16
|
-
|
|
17
|
-
- **You're building for a specific audience** and want to validate they can actually use your product
|
|
18
|
-
- **You need to test accessibility** with realistic disability simulations, not just WCAG checkers
|
|
19
|
-
- **You want consistent test personas** across your team with documented cognitive profiles
|
|
20
|
-
- **You're customizing personas** for your specific user base
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Tools
|
|
25
|
-
|
|
26
|
-
### `list_cognitive_personas`
|
|
27
|
-
|
|
28
|
-
**What it does**: Returns all available personas with their complete cognitive trait profiles.
|
|
29
|
-
|
|
30
|
-
**Why you'd use it**: See what personas exist and understand their characteristics before selecting one.
|
|
31
|
-
|
|
32
|
-
| Parameter | Type | Required | Description |
|
|
33
|
-
|-----------|------|----------|-------------|
|
|
34
|
-
| `category` | string | No | Filter by category: `general`, `accessibility`, `marketing`, `all` |
|
|
35
|
-
| `detailed` | boolean | No | Include full trait values. Default: false |
|
|
36
|
-
|
|
37
|
-
**Example**:
|
|
38
|
-
```json
|
|
39
|
-
{
|
|
40
|
-
"category": "accessibility",
|
|
41
|
-
"detailed": true
|
|
42
|
-
}
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
**Returns**: List of personas with names, descriptions, trait summaries, and (if detailed) all 25 trait values.
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
### `persona_create_start`
|
|
50
|
-
|
|
51
|
-
**What it does**: Begins the persona creation flow. Choose between questionnaire mode (answer questions to generate traits) or description mode (describe the persona in natural language).
|
|
52
|
-
|
|
53
|
-
**Why you'd use it**: Start building a custom persona tailored to your specific user base.
|
|
54
|
-
|
|
55
|
-
| Parameter | Type | Required | Description |
|
|
56
|
-
|-----------|------|----------|-------------|
|
|
57
|
-
| `mode` | string | Yes | `questionnaire` or `description` |
|
|
58
|
-
| `name` | string | Yes | Name for the new persona |
|
|
59
|
-
|
|
60
|
-
**Example**:
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"mode": "description",
|
|
64
|
-
"name": "startup-cto"
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
### `persona_create_from_description`
|
|
71
|
-
|
|
72
|
-
**What it does**: Generate a persona from a natural language description. Returns a trait reference matrix for review before finalizing.
|
|
73
|
-
|
|
74
|
-
**Why you'd use it**: Quickly create a persona by describing who they are, rather than answering individual trait questions.
|
|
75
|
-
|
|
76
|
-
| Parameter | Type | Required | Description |
|
|
77
|
-
|-----------|------|----------|-------------|
|
|
78
|
-
| `sessionId` | string | Yes | Session ID from `persona_create_start` |
|
|
79
|
-
| `description` | string | Yes | Natural language description of the persona |
|
|
80
|
-
|
|
81
|
-
**Example**:
|
|
82
|
-
```json
|
|
83
|
-
{
|
|
84
|
-
"sessionId": "create_abc123",
|
|
85
|
-
"description": "A senior developer at a Fortune 500 company. Highly technical, impatient with marketing fluff, wants to see code examples immediately. Uses keyboard shortcuts for everything. Skeptical of new tools until proven."
|
|
86
|
-
}
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
**Returns**: Inferred trait values with confidence scores and suggested adjustments.
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
### `persona_create_submit_traits`
|
|
94
|
-
|
|
95
|
-
**What it does**: Finalize a description-based persona by confirming or adjusting the inferred traits.
|
|
96
|
-
|
|
97
|
-
**Why you'd use it**: Review the AI-generated traits and make corrections before saving.
|
|
98
|
-
|
|
99
|
-
| Parameter | Type | Required | Description |
|
|
100
|
-
|-----------|------|----------|-------------|
|
|
101
|
-
| `sessionId` | string | Yes | Session ID |
|
|
102
|
-
| `traits` | object | Yes | Final trait values (adjusted if needed) |
|
|
103
|
-
| `save` | boolean | No | Save persona for future use. Default: true |
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
### `persona_create_questionnaire_start`
|
|
108
|
-
|
|
109
|
-
**What it does**: Begin the questionnaire-based persona creation. Returns the first question.
|
|
110
|
-
|
|
111
|
-
**Why you'd use it**: Build a persona through guided questions when you want precise control over trait values.
|
|
112
|
-
|
|
113
|
-
| Parameter | Type | Required | Description |
|
|
114
|
-
|-----------|------|----------|-------------|
|
|
115
|
-
| `sessionId` | string | Yes | Session ID from `persona_create_start` |
|
|
116
|
-
| `comprehensive` | boolean | No | Use full 25-trait questionnaire vs 8-core. Default: false |
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
### `persona_create_questionnaire_answer`
|
|
121
|
-
|
|
122
|
-
**What it does**: Submit an answer to the current questionnaire question and receive the next one.
|
|
123
|
-
|
|
124
|
-
**Why you'd use it**: Progress through the questionnaire one question at a time.
|
|
125
|
-
|
|
126
|
-
| Parameter | Type | Required | Description |
|
|
127
|
-
|-----------|------|----------|-------------|
|
|
128
|
-
| `sessionId` | string | Yes | Session ID |
|
|
129
|
-
| `answer` | string/number | Yes | Answer to the current question |
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
### `persona_create_cancel`
|
|
134
|
-
|
|
135
|
-
**What it does**: Cancel the current persona creation session.
|
|
136
|
-
|
|
137
|
-
**Why you'd use it**: Abandon a persona creation that's no longer needed.
|
|
138
|
-
|
|
139
|
-
| Parameter | Type | Required | Description |
|
|
140
|
-
|-----------|------|----------|-------------|
|
|
141
|
-
| `sessionId` | string | Yes | Session ID to cancel |
|
|
142
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
### `persona_questionnaire_get`
|
|
146
|
-
|
|
147
|
-
**What it does**: Retrieve the full persona questionnaire for external use — the questions, scales, and trait mappings.
|
|
148
|
-
|
|
149
|
-
**Why you'd use it**: Build your own persona creation UI or review the research-backed questions.
|
|
150
|
-
|
|
151
|
-
| Parameter | Type | Required | Description |
|
|
152
|
-
|-----------|------|----------|-------------|
|
|
153
|
-
| `version` | string | No | `core` (8 questions) or `comprehensive` (25 questions). Default: `core` |
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
### `persona_questionnaire_build`
|
|
158
|
-
|
|
159
|
-
**What it does**: Build a persona directly from questionnaire answers with category-aware safeguards.
|
|
160
|
-
|
|
161
|
-
**Why you'd use it**: Create a persona from pre-collected answers (e.g., from a user survey).
|
|
162
|
-
|
|
163
|
-
| Parameter | Type | Required | Description |
|
|
164
|
-
|-----------|------|----------|-------------|
|
|
165
|
-
| `name` | string | Yes | Persona name |
|
|
166
|
-
| `answers` | object | Yes | Map of trait names to values (0.0-1.0) |
|
|
167
|
-
| `category` | string | No | Persona category for value derivation rules |
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
### `persona_traits_list`
|
|
172
|
-
|
|
173
|
-
**What it does**: List all 25 cognitive traits with descriptions, research basis, and behavioral implications.
|
|
174
|
-
|
|
175
|
-
**Why you'd use it**: Understand what each trait measures before assigning values.
|
|
176
|
-
|
|
177
|
-
| Parameter | Type | Required | Description |
|
|
178
|
-
|-----------|------|----------|-------------|
|
|
179
|
-
| `tier` | number | No | Filter by tier (1-6) |
|
|
180
|
-
|
|
181
|
-
**Example**:
|
|
182
|
-
```json
|
|
183
|
-
{
|
|
184
|
-
"tier": 1
|
|
185
|
-
}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
Returns Tier 1 core traits: Patience, Risk Tolerance, Comprehension, Persistence, Curiosity, Working Memory, Reading Tendency.
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
### `persona_trait_lookup`
|
|
193
|
-
|
|
194
|
-
**What it does**: Get detailed behavioral descriptions for specific trait values.
|
|
195
|
-
|
|
196
|
-
**Why you'd use it**: Understand what a patience value of 0.3 actually means in practice.
|
|
197
|
-
|
|
198
|
-
| Parameter | Type | Required | Description |
|
|
199
|
-
|-----------|------|----------|-------------|
|
|
200
|
-
| `trait` | string | Yes | Trait name (e.g., `patience`, `riskTolerance`) |
|
|
201
|
-
| `value` | number | Yes | Value to look up (0.0-1.0) |
|
|
202
|
-
|
|
203
|
-
**Example**:
|
|
204
|
-
```json
|
|
205
|
-
{
|
|
206
|
-
"trait": "patience",
|
|
207
|
-
"value": 0.3
|
|
208
|
-
}
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
**Returns**: Behavioral description, abandonment thresholds, typical actions at this level.
|
|
212
|
-
|
|
213
|
-
---
|
|
214
|
-
|
|
215
|
-
### `persona_values_lookup`
|
|
216
|
-
|
|
217
|
-
**What it does**: Retrieve the values profile for a persona — Schwartz universal values, SDT psychological needs, and Maslow hierarchy level.
|
|
218
|
-
|
|
219
|
-
**Why you'd use it**: Understand what motivates a persona and which influence patterns will resonate with them.
|
|
220
|
-
|
|
221
|
-
| Parameter | Type | Required | Description |
|
|
222
|
-
|-----------|------|----------|-------------|
|
|
223
|
-
| `persona` | string | Yes | Persona ID |
|
|
224
|
-
|
|
225
|
-
**Example**:
|
|
226
|
-
```json
|
|
227
|
-
{
|
|
228
|
-
"persona": "enterprise-buyer"
|
|
229
|
-
}
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
**Returns**: Schwartz value rankings (security, achievement, benevolence, etc.), primary psychological needs, Maslow level.
|
|
233
|
-
|
|
234
|
-
---
|
|
235
|
-
|
|
236
|
-
### `persona_category_guidance`
|
|
237
|
-
|
|
238
|
-
**What it does**: Get guidance for handling value derivation in disability-specific personas.
|
|
239
|
-
|
|
240
|
-
**Why you'd use it**: When creating accessibility personas, understand how to assign values appropriately without stereotyping.
|
|
241
|
-
|
|
242
|
-
| Parameter | Type | Required | Description |
|
|
243
|
-
|-----------|------|----------|-------------|
|
|
244
|
-
| `category` | string | Yes | Category: `cognitive`, `physical`, `sensory`, `emotional` |
|
|
245
|
-
|
|
246
|
-
**Returns**: Value derivation strategy, research basis, warnings about common mistakes.
|
|
247
|
-
|
|
248
|
-
---
|
|
249
|
-
|
|
250
|
-
### `list_influence_patterns`
|
|
251
|
-
|
|
252
|
-
**What it does**: List all research-backed influence and persuasion patterns with their effectiveness by persona type.
|
|
253
|
-
|
|
254
|
-
**Why you'd use it**: Understand which psychological triggers work on which audiences.
|
|
255
|
-
|
|
256
|
-
| Parameter | Type | Required | Description |
|
|
257
|
-
|-----------|------|----------|-------------|
|
|
258
|
-
| `persona` | string | No | Filter to patterns effective for this persona |
|
|
259
|
-
|
|
260
|
-
**Returns**: Patterns like `scarcity`, `social_proof`, `authority`, `reciprocity` with effectiveness ratings and example implementations.
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
264
|
-
## The 25 Cognitive Traits
|
|
265
|
-
|
|
266
|
-
Personas are built from 25 research-validated traits organized in 6 tiers:
|
|
267
|
-
|
|
268
|
-
| Tier | Traits | What They Govern |
|
|
269
|
-
|------|--------|------------------|
|
|
270
|
-
| **1: Core** | Patience, Risk Tolerance, Comprehension, Persistence, Curiosity, Working Memory, Reading Tendency | Basic interaction patterns |
|
|
271
|
-
| **2: Emotional** | Resilience, Self-Efficacy, Trust Calibration, Interrupt Recovery | Response to friction and failure |
|
|
272
|
-
| **3: Decision** | Satisficing, Information Foraging, Anchoring Bias, Time Horizon, Attribution Style | How choices are made |
|
|
273
|
-
| **4: Planning** | Metacognitive Planning, Procedural Fluency, Transfer Learning | Approach to complex tasks |
|
|
274
|
-
| **5: Perception** | Change Blindness, Mental Model Rigidity | How UI changes are noticed/understood |
|
|
275
|
-
| **6: Social** | Authority Sensitivity, Emotional Contagion, FOMO, Social Proof Sensitivity | Response to social cues |
|
|
276
|
-
|
|
277
|
-
See [Trait Index](/docs/Trait-Index/) for detailed documentation of each trait.
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
## Built-in Personas
|
|
282
|
-
|
|
283
|
-
| Category | Personas |
|
|
284
|
-
|----------|----------|
|
|
285
|
-
| **General** | power-user, first-timer, mobile-user, impatient-user |
|
|
286
|
-
| **Accessibility** | elderly-user, screen-reader-user, motor-tremor, low-vision, cognitive-adhd |
|
|
287
|
-
| **Marketing** | enterprise-buyer, startup-founder, procurement-manager, technical-evaluator, impulse-shopper, price-researcher, loyal-customer, skeptical-first-timer |
|
|
288
|
-
|
|
289
|
-
---
|
|
290
|
-
|
|
291
|
-
## Related Documentation
|
|
292
|
-
|
|
293
|
-
- [Persona Index](/docs/Persona-Index/) — Complete persona profiles
|
|
294
|
-
- [Persona Questionnaire](/docs/Persona-Questionnaire/) — Creating custom personas
|
|
295
|
-
- [Trait Index](/docs/Trait-Index/) — Deep dives on each trait
|
|
296
|
-
- [Values Framework](/docs/Values-Framework/) — Schwartz values and motivation
|
|
297
|
-
|
|
298
|
-
---
|
|
299
|
-
|
|
300
|
-
*Last updated: v17.6.0*
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
> **This documentation is no longer maintained here.**
|
|
2
|
-
>
|
|
3
|
-
> For the latest version, please visit: **[Session & State Tools](https://cbrowser.ai/docs/Tools-Session-State)**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Session & State Tools
|
|
8
|
-
|
|
9
|
-
**Stay logged in. Handle Cloudflare. Test sites that fight back.**
|
|
10
|
-
|
|
11
|
-
These 14 tools manage browser sessions, handle state persistence, and (for Enterprise) bypass bot detection on sites you're authorized to test. Stop re-authenticating between test runs.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## When to Use These Tools
|
|
16
|
-
|
|
17
|
-
- **You're testing authenticated flows** and tired of logging in every time
|
|
18
|
-
- **Your tests run against Cloudflare-protected sites** you own
|
|
19
|
-
- **Browser crashes are disrupting your automation** and you need recovery
|
|
20
|
-
- **You need clean state** between test scenarios
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Session Management Tools
|
|
25
|
-
|
|
26
|
-
### `save_session`
|
|
27
|
-
|
|
28
|
-
**What it does**: Save the current browser session — cookies, localStorage, sessionStorage, and URL — for later restoration.
|
|
29
|
-
|
|
30
|
-
**Why you'd use it**: Authenticate once, save the session, reuse it across multiple test runs.
|
|
31
|
-
|
|
32
|
-
| Parameter | Type | Required | Description |
|
|
33
|
-
|-----------|------|----------|-------------|
|
|
34
|
-
| `name` | string | Yes | Name for this session |
|
|
35
|
-
| `url` | string | No | Navigate to this URL before saving (if not already there) |
|
|
36
|
-
|
|
37
|
-
**Example**:
|
|
38
|
-
```json
|
|
39
|
-
{
|
|
40
|
-
"name": "github-logged-in"
|
|
41
|
-
}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
**Note**: Session files include cookies with expiration dates. Sessions may need to be recreated when cookies expire.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
### `load_session`
|
|
49
|
-
|
|
50
|
-
**What it does**: Restore a previously saved session, including cookies and storage.
|
|
51
|
-
|
|
52
|
-
**Why you'd use it**: Start tests already logged in, without going through authentication flow.
|
|
53
|
-
|
|
54
|
-
| Parameter | Type | Required | Description |
|
|
55
|
-
|-----------|------|----------|-------------|
|
|
56
|
-
| `name` | string | Yes | Session name to load |
|
|
57
|
-
| `navigateToUrl` | boolean | No | Navigate to the saved URL after loading. Default: true |
|
|
58
|
-
|
|
59
|
-
**Example**:
|
|
60
|
-
```json
|
|
61
|
-
{
|
|
62
|
-
"name": "github-logged-in"
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
### `list_sessions`
|
|
69
|
-
|
|
70
|
-
**What it does**: List all saved sessions with metadata (creation date, domain, expiration).
|
|
71
|
-
|
|
72
|
-
**Why you'd use it**: See what sessions are available and whether they're still valid.
|
|
73
|
-
|
|
74
|
-
| Parameter | Type | Required | Description |
|
|
75
|
-
|-----------|------|----------|-------------|
|
|
76
|
-
| `detailed` | boolean | No | Include full metadata. Default: false |
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
### `delete_session`
|
|
81
|
-
|
|
82
|
-
**What it does**: Delete a saved session by name.
|
|
83
|
-
|
|
84
|
-
**Why you'd use it**: Clean up old or expired sessions.
|
|
85
|
-
|
|
86
|
-
| Parameter | Type | Required | Description |
|
|
87
|
-
|-----------|------|----------|-------------|
|
|
88
|
-
| `name` | string | Yes | Session to delete |
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Browser State Tools
|
|
93
|
-
|
|
94
|
-
### `reset_browser`
|
|
95
|
-
|
|
96
|
-
**What it does**: Reset the browser to a clean state — clears all cookies, storage, and cache.
|
|
97
|
-
|
|
98
|
-
**Why you'd use it**: Ensure test isolation by starting from a blank slate.
|
|
99
|
-
|
|
100
|
-
| Parameter | Type | Required | Description |
|
|
101
|
-
|-----------|------|----------|-------------|
|
|
102
|
-
| `preserveSession` | string | No | Session name to preserve during reset |
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
### `browser_health`
|
|
107
|
-
|
|
108
|
-
**What it does**: Check if the browser is healthy and responsive.
|
|
109
|
-
|
|
110
|
-
**Why you'd use it**: Diagnose issues when automation stops responding.
|
|
111
|
-
|
|
112
|
-
| Parameter | Type | Required | Description |
|
|
113
|
-
|-----------|------|----------|-------------|
|
|
114
|
-
| *none* | | | |
|
|
115
|
-
|
|
116
|
-
**Returns**:
|
|
117
|
-
- Browser status (healthy/unhealthy)
|
|
118
|
-
- Memory usage
|
|
119
|
-
- Open pages count
|
|
120
|
-
- Last activity timestamp
|
|
121
|
-
- Any error conditions
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
### `browser_recover`
|
|
126
|
-
|
|
127
|
-
**What it does**: Attempt to recover from a browser crash or unresponsive state by restarting.
|
|
128
|
-
|
|
129
|
-
**Why you'd use it**: Automatic recovery when things go wrong.
|
|
130
|
-
|
|
131
|
-
| Parameter | Type | Required | Description |
|
|
132
|
-
|-----------|------|----------|-------------|
|
|
133
|
-
| `preserveState` | boolean | No | Try to restore tabs after restart. Default: true |
|
|
134
|
-
|
|
135
|
-
**Note**: v11.9.0 added exponential backoff for crash recovery.
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## Stealth Mode Tools 🔒 Enterprise
|
|
140
|
-
|
|
141
|
-
> **All stealth tools require CBrowser Enterprise.**
|
|
142
|
-
> Stealth mode is constitutional — it only works on domains you've explicitly authorized with signed attestation.
|
|
143
|
-
> This prevents misuse while enabling legitimate testing of your own properties.
|
|
144
|
-
|
|
145
|
-
### `stealth_enable` 🔒 Enterprise
|
|
146
|
-
|
|
147
|
-
**What it does**: Enable stealth mode to bypass bot detection on authorized domains.
|
|
148
|
-
|
|
149
|
-
**Why you'd use it**: Test your own sites that use aggressive bot protection.
|
|
150
|
-
|
|
151
|
-
| Parameter | Type | Required | Description |
|
|
152
|
-
|-----------|------|----------|-------------|
|
|
153
|
-
| `authorized_domains` | array | Yes | Domains you're authorized to test |
|
|
154
|
-
| `signed_by` | string | Yes | Your email confirming authorization |
|
|
155
|
-
| `proxy_server` | string | No | Proxy server URL |
|
|
156
|
-
| `proxy_username` | string | No | Proxy authentication |
|
|
157
|
-
| `proxy_password` | string | No | Proxy authentication |
|
|
158
|
-
|
|
159
|
-
**Example**:
|
|
160
|
-
```json
|
|
161
|
-
{
|
|
162
|
-
"authorized_domains": ["example.com", "staging.example.com"],
|
|
163
|
-
"signed_by": "yourname@example.com"
|
|
164
|
-
}
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
**Constitutional Requirement**: Stealth only works on the specific domains you've authorized. Attempts to use it elsewhere fail with a security error.
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
### `stealth_disable` 🔒 Enterprise
|
|
172
|
-
|
|
173
|
-
**What it does**: Disable stealth mode, returning to standard browser fingerprint.
|
|
174
|
-
|
|
175
|
-
**Why you'd use it**: When you're done testing protected sites.
|
|
176
|
-
|
|
177
|
-
| Parameter | Type | Required | Description |
|
|
178
|
-
|-----------|------|----------|-------------|
|
|
179
|
-
| *none* | | | |
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
### `stealth_status` 🔒 Enterprise
|
|
184
|
-
|
|
185
|
-
**What it does**: Check current stealth configuration and status.
|
|
186
|
-
|
|
187
|
-
**Why you'd use it**: Verify stealth is configured correctly before testing.
|
|
188
|
-
|
|
189
|
-
| Parameter | Type | Required | Description |
|
|
190
|
-
|-----------|------|----------|-------------|
|
|
191
|
-
| *none* | | | |
|
|
192
|
-
|
|
193
|
-
**Returns**: Enabled status, authorized domains, proxy configuration (masked), enterprise version.
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
### `stealth_check` 🔒 Enterprise
|
|
198
|
-
|
|
199
|
-
**What it does**: Check if a specific action is allowed on a URL under current stealth configuration.
|
|
200
|
-
|
|
201
|
-
**Why you'd use it**: Verify authorization before attempting an action that might fail.
|
|
202
|
-
|
|
203
|
-
| Parameter | Type | Required | Description |
|
|
204
|
-
|-----------|------|----------|-------------|
|
|
205
|
-
| `action` | string | Yes | Action to check (e.g., "navigate", "fill") |
|
|
206
|
-
| `url` | string | Yes | URL where action would occur |
|
|
207
|
-
|
|
208
|
-
---
|
|
209
|
-
|
|
210
|
-
### `stealth_diagnose` 🔒 Enterprise
|
|
211
|
-
|
|
212
|
-
**What it does**: Analyze what bot detection methods a site uses.
|
|
213
|
-
|
|
214
|
-
**Why you'd use it**: Understand what you're up against before enabling stealth.
|
|
215
|
-
|
|
216
|
-
| Parameter | Type | Required | Description |
|
|
217
|
-
|-----------|------|----------|-------------|
|
|
218
|
-
| `url` | string | Yes | URL to analyze |
|
|
219
|
-
|
|
220
|
-
**Returns**: Detection methods found (fingerprinting, IP reputation, WAF type, JavaScript challenges).
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## Cloudflare Tools 🔒 Enterprise
|
|
225
|
-
|
|
226
|
-
### `cloudflare_detect` 🔒 Enterprise
|
|
227
|
-
|
|
228
|
-
**What it does**: Detect if a page is showing a Cloudflare challenge or block.
|
|
229
|
-
|
|
230
|
-
**Why you'd use it**: Know if you need to handle Cloudflare before proceeding.
|
|
231
|
-
|
|
232
|
-
| Parameter | Type | Required | Description |
|
|
233
|
-
|-----------|------|----------|-------------|
|
|
234
|
-
| `url` | string | Yes | URL to check |
|
|
235
|
-
|
|
236
|
-
**Returns**: Challenge type (JS challenge, Turnstile, block), detection confidence.
|
|
237
|
-
|
|
238
|
-
---
|
|
239
|
-
|
|
240
|
-
### `cloudflare_wait` 🔒 Enterprise
|
|
241
|
-
|
|
242
|
-
**What it does**: Wait for a Cloudflare challenge to complete naturally.
|
|
243
|
-
|
|
244
|
-
**Why you'd use it**: Let stealth mode handle the challenge while you wait.
|
|
245
|
-
|
|
246
|
-
| Parameter | Type | Required | Description |
|
|
247
|
-
|-----------|------|----------|-------------|
|
|
248
|
-
| `url` | string | Yes | URL with Cloudflare challenge |
|
|
249
|
-
| `timeout` | number | No | Max wait time in seconds. Default: 30 |
|
|
250
|
-
|
|
251
|
-
**Returns**: Success/failure, final page state, time taken.
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## Why Stealth Requires Authorization
|
|
256
|
-
|
|
257
|
-
CBrowser's stealth mode is designed for legitimate testing:
|
|
258
|
-
|
|
259
|
-
1. **You specify exactly which domains** you're authorized to test
|
|
260
|
-
2. **You sign with your email** creating an audit trail
|
|
261
|
-
3. **Attempts on unauthorized domains fail** immediately
|
|
262
|
-
4. **Enterprise license is required** ensuring accountability
|
|
263
|
-
|
|
264
|
-
This prevents misuse while enabling:
|
|
265
|
-
- Testing your own bot-protected sites
|
|
266
|
-
- QA on staging environments with production security
|
|
267
|
-
- Security assessments of your own properties
|
|
268
|
-
|
|
269
|
-
---
|
|
270
|
-
|
|
271
|
-
## Related Documentation
|
|
272
|
-
|
|
273
|
-
- [Constitutional Safety](/docs/Constitutional-Safety/) — How CBrowser classifies and limits actions
|
|
274
|
-
- [Tools Overview](/docs/Tools-Overview/) — All tools by category
|
|
275
|
-
|
|
276
|
-
---
|
|
277
|
-
|
|
278
|
-
*Last updated: v17.6.0*
|