@quitecode/chromium-automaton 0.1.0-beta.5 → 0.1.0-beta.6
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/README.md +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,6 +43,15 @@ node quick.js
|
|
|
43
43
|
- Queries: `query`, `queryAll`, `queryXPath`, `queryAllXPath`, `locator`
|
|
44
44
|
- Assertions: `expect(page).element("selector").toBeVisible()` (see `docs/guide/assertions.md`)
|
|
45
45
|
|
|
46
|
+
## Architecture at a glance (render-friendly)
|
|
47
|
+
```
|
|
48
|
+
CLI (chromium-automaton download) -> Downloader -> Chromium cache
|
|
49
|
+
|
|
50
|
+
User code -> chromium.launch -> ChromiumManager -> Chromium process
|
|
51
|
+
Chromium process -> CDP connection -> Browser -> Page -> Frame
|
|
52
|
+
Page -> Locator / expect
|
|
53
|
+
```
|
|
54
|
+
|
|
46
55
|
## Docs
|
|
47
56
|
Full guide and API reference: https://quitecode9-lab.github.io/chromium-automation/ (built from `docs/` via VitePress). Start at `docs/guide/intro.md` or `docs/guide/api/`.
|
|
48
57
|
|