elementus-ai 1.0.0 → 1.0.1
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ When a selector breaks, Elementus uses AI to find the element by natural-languag
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install elementus
|
|
10
|
+
npm install elementus-ai
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## One-Prompt Setup
|
|
@@ -18,7 +18,7 @@ Copy this prompt to your AI coding agent (Claude, Cursor, Copilot, etc.) and it
|
|
|
18
18
|
<summary><strong>Click to copy the setup prompt</strong></summary>
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
I just installed the npm package "elementus" — a self-healing element resolution library for test automation. Analyze my project and integrate it. Follow these steps:
|
|
21
|
+
I just installed the npm package "elementus-ai" — a self-healing element resolution library for test automation. Analyze my project and integrate it. Follow these steps:
|
|
22
22
|
|
|
23
23
|
1. DETECT MY FRAMEWORK
|
|
24
24
|
- Search for: playwright.config, wdio.conf, appium config files
|
|
@@ -73,7 +73,7 @@ Rules:
|
|
|
73
73
|
## Quick Start
|
|
74
74
|
|
|
75
75
|
```javascript
|
|
76
|
-
const { createElementus } = require('elementus')
|
|
76
|
+
const { createElementus } = require('elementus-ai')
|
|
77
77
|
|
|
78
78
|
const el = createElementus({
|
|
79
79
|
provider: 'gemini',
|
|
@@ -133,7 +133,7 @@ await p.locator('#email', { ai: 'Email input field' }).fill('test@test.com')
|
|
|
133
133
|
```javascript
|
|
134
134
|
// fixtures.js
|
|
135
135
|
const { test: base } = require('@playwright/test')
|
|
136
|
-
const { createElementus } = require('elementus')
|
|
136
|
+
const { createElementus } = require('elementus-ai')
|
|
137
137
|
const el = createElementus({ provider: 'gemini', geminiApiKey: '...' })
|
|
138
138
|
|
|
139
139
|
module.exports = base.extend({
|