Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 800 Bytes

migrating.md

File metadata and controls

10 lines (8 loc) · 800 Bytes

Migration from unidriver@~2.0.1 to @unidriver/* latest

If you are migrating from a previous version of unidriver, before the seperation of adapters, you will need to take the following breaking change into account:

method [email protected] @unidriver/* latest
pupUniDriver (el: ElementGetter): UniDriver<ElementHandle> ( el: ElementGetter | BaseElementContainer): UniDriver<ElementContainer>
reactUniDriver reactUniDriver jsdomReactUniDriver
attr (name: string) => Promise<string>; (name: string) => Promise<string | null>
$$(selector).get(idx) - When selector did not yield any element get(idx).exists() returns true get(idx).exists() returns false