Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Cypress v4 will have breaking changes #36

Closed
bahmutov opened this issue Feb 3, 2020 · 2 comments
Closed

Cypress v4 will have breaking changes #36

bahmutov opened this issue Feb 3, 2020 · 2 comments

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Feb 3, 2020

to the browser and browser type

@bahmutov
Copy link
Contributor Author

bahmutov commented Feb 3, 2020

if Cypress.version === '...'
that kind of thing
new messages
or you could test for Cypress.isBrowser existing
that would be even better
you could update your lib right now then
onlyOn(arg) -> delegate that to use Cypress.isBrower(arg) if its available, else check Cypress.browser object directly
yeah?
you could update it right now since we are abstracting away the differences through Cypress.isBrowser()
and you don’t have to check the Cypress.browser object directly

@bahmutov
Copy link
Contributor Author

bahmutov commented Feb 3, 2020

done in v2.4.1

@bahmutov bahmutov closed this as completed Feb 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant