next.js
60f0837b - refactor(tests): make chain more "correct" (#51728)

Commit
1 year ago
refactor(tests): make chain more "correct" (#51728) ### Why? I really dislike the way `.chain` works right now, it shouldn't mutate the `BrowserInterface`, this PR changes it so it's just a pure chain without weird side effects. One example with the current version (before this PR): ``` const el = browser.elementByCss('#version-2') await el.text() // throws await el.text() ``` ### Additional Changes - removes selenium (which is completely unused) - updates playwright - makes the playwright tracing not error all the time
Parents
Loading