# @wix/unidriver-core

> Utils for UniDrivers

Latest version **1.5.6** (published 2026-08-06) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @wix/unidriver-core
pnpm add @wix/unidriver-core
yarn add @wix/unidriver-core
bun add @wix/unidriver-core
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.5.6 |
| Published | 2026-08-06 |
| First published | 2022-10-17 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 286.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mykolas Šindeikis |
| Maintainers | wix-ci, wixnpm, wix-ambassador, wix-ci-publisher, wix-bi-publisher, usability-sessions, bryanp-wix, ethanp, omrili, wix-org-headless, falconci, roir-wix |

## Links

- npm: https://www.npmjs.com/package/@wix/unidriver-core
- Homepage: https://github.com/wix-private/unidriver/tree/master/packages/unidriver-core
- npm.io page: https://npm.io/package/@wix/unidriver-core

## Recent versions

- 1.5.6 (latest) — 2026-08-06
- 1.5.5 — 2026-05-15
- 1.5.3 — 2026-05-06
- 1.5.2 — 2026-05-04
- 1.5.1 — 2026-02-02
- 1.5.0 — 2026-01-22
- 1.4.9 — 2025-12-12
- 1.4.8 — 2025-11-24
- 1.4.7 — 2025-10-07
- 1.4.6 — 2025-10-01
- 1.4.5 — 2025-09-26
- 1.4.4 — 2025-09-05
- 1.4.3 — 2025-09-05
- 1.4.2 — 2025-08-22
- 1.4.1 — 2025-08-12
- … 30 more at https://npm.io/package/@wix/unidriver-core/versions

## README

### @wix/unidriver-core
- Common types for consumer usage
- `configureUniDriver` - called once in the test setup to configure global behaviour any `UniDriver` instances.
  Can be called with the following options:
  - `queryAttribute` - it configures `$`/`$$` driver call to wrap selector in provided attribute.
    e.g. if you pass `{queryAttribute: 'data-hook'}` and driver is
    called as `someDriver.$('some-selector)` actual dom query would be to `[data-hook="some-selector"]`.
    Very useful when you have stable selectors via `data-hook`/`data-test-id` attributes and such.


    Can also be a function, that receives a selector, for instance if you want partial match. e.g. `[data-hook~="${selector}"]`
  - `timeout` - sets the default timeout for all driver calls. Default is 1000ms.

## WARNING: INTERNAL PACKAGE. DON'T USE DIRECTLY

### @wix/unidriver-core/internal
- Helper types and low-level functions meant only for usage inside the unidriver monorepo

---
_Source: https://npm.io/package/@wix/unidriver-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
