Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Feb 10, 2025
1 parent 0b6ce74 commit 7d64cc0
Show file tree
Hide file tree
Showing 3 changed files with 2,329 additions and 1,822 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This release introduces major new features and internal refactoring. It is an im

### 🔥 **Native Element Functions**

A new [Els API](./els) for direct element interactions has been introduced. This API provides low-level element manipulation functions for more granular control over element interactions and assertions:
A new [Els API](/els) for direct element interactions has been introduced. This API provides low-level element manipulation functions for more granular control over element interactions and assertions:

- `element()` - perform custom operations on first matching element
- `eachElement()` - iterate and perform operations on each matching element
Expand Down Expand Up @@ -45,11 +45,11 @@ Scenario('element functions demo', async ({ I }) => {
})
```

[Els](./els) functions expose the native API of Playwright, WebDriver, and Puppeteer helpers. The actual `el` API will differ depending on which helper is used, which affects test code interoperability.
[Els](/els) functions expose the native API of Playwright, WebDriver, and Puppeteer helpers. The actual `el` API will differ depending on which helper is used, which affects test code interoperability.

### 🔮 **Effects introduced**

[Effects](./effects) is a new concept that encompasses all functions that can modify scenario flow. These functions are now part of a single module. Previously, they were used via plugins like `tryTo` and `retryTo`. Now, it is recommended to import them directly:
[Effects](/effects) is a new concept that encompasses all functions that can modify scenario flow. These functions are now part of a single module. Previously, they were used via plugins like `tryTo` and `retryTo`. Now, it is recommended to import them directly:

```js
const { tryTo, retryTo } = require('codeceptjs/effects')
Expand Down
Loading

0 comments on commit 7d64cc0

Please sign in to comment.