@wix/unidriver-core
TypeScript icon, indicating that this package has built-in type declarations

1.3.14 • Public • Published

@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}"]

    • defaultTimeout - 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

Readme

Keywords

none

Package Sidebar

Install

npm i @wix/unidriver-core

Weekly Downloads

2,495

Version

1.3.14

License

UNLICENSED

Unpacked Size

300 kB

Total Files

164

Last publish

Collaborators

  • yoav
  • wix-ci
  • shahata
  • wixnpm
  • wix-ambassador
  • netanelgilad
  • wix-ci-publisher
  • wix-bi-publisher
  • galil-team
  • lxgreen
  • ariki
  • liorgwix
  • usability-sessions
  • yurynix
  • oferb-wix
  • domasmak
  • mayaco
  • amitde007
  • tombenezra
  • itaytay
  • haimbrum-wix
  • youngshinobi
  • varzager
  • benblayer-wix
  • itai.benda
  • arielh
  • falconci
  • roir-wix
  • dorchaouat