@allwright.dev/core 0.0.27 → 0.0.28
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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
High-level TypeScript client for the allwright automation engine.
|
|
4
4
|
|
|
5
|
+
Install:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @allwright.dev/core
|
|
9
|
+
```
|
|
10
|
+
|
|
5
11
|
```ts
|
|
6
12
|
import { firefox } from "@allwright.dev/core";
|
|
7
13
|
|
|
@@ -11,6 +17,8 @@ await page.goto("https://example.com");
|
|
|
11
17
|
await browser.close();
|
|
12
18
|
```
|
|
13
19
|
|
|
20
|
+
A small runnable example also lives in [examples/basic.ts](./examples/basic.ts), and the fuller end-to-end playground lives in [examples/playground.ts](./examples/playground.ts).
|
|
21
|
+
|
|
14
22
|
Shared config files are stack-agnostic and can live in `allwright.config.yaml` or `allwright.config.json`.
|
|
15
23
|
The shared schema lives at the repo root in `allwright.schema.json`.
|
|
16
24
|
|