3 ms·
Playwright has some pretty good strategies for selection using positional locators[0] which generally feel pretty resilient. Not quite as ergonomic as Taiko[1]
by CharlieDigital 3y ago
Playwright has some pretty good strategies for selection using positional locators[0] which generally feel pretty resilient. Not quite as ergonomic as Taiko[1], but still really good.
Both have good heuristics for auto-waiting that simplify interactions and make them "faster" because there's not as much wasted time doing manual waits.
I particularly liked Taiko + Gauge[2], but Playwright can also be plugged into Gauge and the ergonomics are really nice because then you can write "plain English" test scripts that translate into system actions.
I have two videos that go over both:
- Playwright: https://www.youtube.com/watch?v=qYkphCJjD_k https://www.youtube.com/watch?v=qYkphCJjD_k
- Taiko: https://www.youtube.com/watch?v=i-sMXPV547 https://www.youtube.com/watch?v=i-sMXPV547
[0] https://docs.gauge.org/?os=linux&language=javascript&ide=vscode https://docs.gauge.org/?os=linux&language=javascript&ide=vsc...
[1] https://docs.taiko.dev/api/reference/ https://docs.taiko.dev/api/reference/
[2] https://docs.gauge.org/?os=linux&language=javascript&ide=vscode https://docs.gauge.org/?os=linux&language=javascript&ide=vsc...
- martypitt 3y agoThe Taiko link you posted doesn't work - I think it's missing an s at the end - here's the working link: https://www.youtube.com/watch?v=i-sMXPV547s https://www.youtube.com/watch?v=i-sMXPV547s