Skip to content

Commit 9dcab59

Browse files
committed
rename policy.json page in navbar to be more declarative, some grammar and style, note computer controls bezier curves on bot anti-detection page
1 parent 1282e6e commit 9dcab59

8 files changed

Lines changed: 16 additions & 46 deletions

File tree

browsers/bot-detection/overview.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Kernel automatically applies Patchright to remove automation fingerprints, inclu
4242

4343
### [Computer Controls API](/browsers/computer-controls)
4444
Controls the browser without using the Chrome DevTools Protocol (CDP), which can reduce bot detection signals.
45-
Emulates native keyboard and mouse input directly at the OS level.
45+
Emulates native keyboard and mouse input directly at the OS level and includes human-like [bezier curves](/browsers/computer-controls#move-the-mouse) by default.
4646

4747
## Getting Started
4848

@@ -71,7 +71,3 @@ Once you have a stable baseline, replicate those conditions in your automations.
7171
| **Rate Limits** | Many sites monitor request frequency; rapid / concurrent actions can trigger blocking. |
7272
| **Network Identity** | Use stable IP addresses, especially if logging in. |
7373
| **Extensions** | Use the [Extensions API](/browsers/extensions) carefully — each adds its own fingerprint, which can be detected. |
74-
75-
## Conclusion
76-
77-
Bot detection is nuanced and constantly evolving. **Kernel provides the building blocks — browsers, proxies, profiles, and APIs — to help agents operate safely and reliably.** Our mission is to help developers automate the web on behalf of users and with their consent, while respecting the systems that keep the internet secure.

browsers/computer-controls.mdx

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -154,28 +154,6 @@ kernel browsers computer move-mouse <session id> --x 500 --y 300 --smooth=false
154154
<img src="/images/smooth-mouse-demo.gif" />
155155
</Frame>
156156

157-
Try it yourself — open [live view](/browsers/live-view) and paste this (requires CLI v0.15.4+ — run `kernel upgrade` to update):
158-
159-
```bash
160-
ID=$(kernel browsers create -o json | jq -r '.session_id')
161-
echo "Open live view: https://dashboard.onkernel.com/browsers/$ID"
162-
HTML=$(curl -sL "https://gist.githubusercontent.com/ulziibay-kernel/f6d8063ba223a81293cfe1fde06d8624/raw/cursor-trail-demo.html")
163-
kernel browsers playwright execute $ID "await page.setContent($(echo "$HTML" | jq -Rs .))"
164-
sleep 3
165-
166-
kernel browsers playwright execute $ID "await page.evaluate(() => document.dispatchEvent(new CustomEvent('kernel-mode', {detail:'instant'})))"
167-
for coords in "200 200" "900 150" "1700 250" "1700 700" "960 800" "200 750"; do
168-
kernel browsers computer move-mouse $ID --x ${coords% *} --y ${coords#* } --smooth=false
169-
sleep 0.5
170-
done
171-
172-
kernel browsers playwright execute $ID "await page.evaluate(() => document.dispatchEvent(new CustomEvent('kernel-mode', {detail:'smooth'})))"
173-
for coords in "200 200" "900 150" "1700 250" "1700 700" "960 800" "200 750"; do
174-
kernel browsers computer move-mouse $ID --x ${coords% *} --y ${coords#* } --duration-ms 1200
175-
sleep 0.3
176-
done
177-
```
178-
179157
## Take screenshots
180158

181159
Capture a full-screen PNG or a specific region.
@@ -341,7 +319,7 @@ kernel browsers computer press-key <session id> --key Ctrl+Shift+Tab --duration
341319

342320
## Scroll
343321

344-
Scroll the mouse wheel at a specific position. Positive `delta_y` scrolls down; negative scrolls up. Positive `delta_x` scrolls right; negative scrolls left.
322+
Scroll the mouse wheel at a specific position. Positive `delta_y` scrolls down; negative scrolls up. Positive `delta_x` scrolls right; negative scrolls left. Scroll amounts refer to "wheel units."
345323

346324
<CodeGroup>
347325
```typescript Typescript/Javascript
@@ -394,6 +372,13 @@ Drag by pressing a button, moving along a path of points, then releasing. By def
394372
| `step_delay_ms` | integer | `50` | Delay in milliseconds between steps (only when `smooth=false`) |
395373
| `hold_keys` | array || Modifier keys to hold during the drag |
396374

375+
### Smooth vs linear drag
376+
377+
<Frame caption="Blue = smooth Bezier curves, Red = linear interpolation">
378+
<img src="/images/smooth-drag-demo.gif" />
379+
</Frame>
380+
381+
397382
<CodeGroup>
398383
```typescript Typescript/Javascript
399384
import Kernel from '@onkernel/sdk';
@@ -481,9 +466,3 @@ kernel browsers computer drag-mouse <session id> \
481466
--step-delay-ms 50
482467
```
483468
</CodeGroup>
484-
485-
### Smooth vs linear drag
486-
487-
<Frame caption="Blue = smooth Bezier curves, Red = linear interpolation">
488-
<img src="/images/smooth-drag-demo.gif" />
489-
</Frame>

browsers/gpu-acceleration.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
---
22
title: GPU Acceleration
3-
description: GPU-accelerated rendering and streaming
43
---
54

6-
<Tip>
7-
**Research Preview** — GPU acceleration is currently in research preview. Capacity may be limited and requires a Start-Up or Enterprise plan.
8-
</Tip>
9-
105
GPU acceleration enables GPU-accelerated rendering in Kernel browsers, providing enhanced performance for graphics-intensive workloads.
116

127
<Warning>

browsers/headless.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: "Headless Mode"
33
---
44

5-
Kernel browsers ship in `Headful` mode by default. In Headful mode, the launched browser has a corresponding GUI. This enables features like [live view](/browsers/live-view) and [replays](/browsers/replays).
5+
Kernel browsers ship in `headful` mode by default. In headful mode, the launched browser has a corresponding GUI. This enables features like [live view](/browsers/live-view) and [replays](/browsers/replays).
66

7-
`Headless` mode runs without a visual interface. They generally run faster and have a lighter footprint (1 GB rather than headful's 8 GB), resulting in significant cost savings. This is useful for short-lived or highly concurrent browser automations.
7+
`headless` mode runs without a visual interface. They generally run faster and have a lighter footprint (1 GB rather than headful's 8 GB), resulting in significant cost savings. This is useful for short-lived or highly concurrent browser automations.
88
Some bot detectors may detect headless mode.
99

10-
To launch a Kernel browser in `Headless` mode, set its config:
10+
To launch a Kernel browser in `headless` mode, set its config:
1111

1212
<CodeGroup>
1313
```typescript Typescript/Javascript

browsers/pools/managing-browsers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Managing Browsers"
2+
title: "custom chrome policies"
33
description: "Customize Chrome behavior in reserved browser pools using Chrome policies"
44
---
55

docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@
139139
"group": "Reserved Browsers",
140140
"pages": [
141141
"browsers/pools/overview",
142-
"browsers/pools/scaling",
143142
"browsers/pools/managing-browsers",
143+
"browsers/pools/scaling",
144144
"browsers/pools/faq"
145145
]
146146
}

index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ kernel invoke my-agent my-task --payload '{"url": "https://example.com"}'
6060

6161
### scaling
6262

63-
once you're ready to scale, you will need to check out how to create a [pool of reserved browsers](/browsers/pools/overview).
63+
once you're ready to scale, check out how to create a [pool of reserved browsers](/browsers/pools/overview).

info/support.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Support"
44

55
## Trial, Free, Hobbyist
66

7-
Users on the Trial, Free, and Hobbyist plans get email support on a best-effort basis.
7+
Users on the Trial, Free, and Hobbyist plans get email support on a best-effort basis. Check out our [Discord](https://discord.gg/FBrveQRcud) to get support from our community.
88

99
## Start-up
1010

0 commit comments

Comments
 (0)