by svacko on 9/18/20, 8:21 AM with 21 comments
by wraptile on 9/20/20, 7:34 AM
$ ptplaywright
> goto('https://news.ycombinator.com')
# click on first comments link
> click('.subtext>a:last-of-type')
# type in text in comment box
> type('textarea', 'hello world')
I was about to refactor it to a whole package and submit it to pypi if anyone is interesting in this sort of behaviour.https://github.com/Granitosaurus/bin/blob/master/ptplaywrigh...
by no_wizard on 9/19/20, 6:34 PM
I am little disappointed they don’t have a testing library built on top of it, so I’m constantly either trying to re-invent the wheel or I end up using libraries I don’t like.
Sam issue I had with puppeteer. I think first party testing integration would be such a huge win with this.
I otherwise have nothing but awesome things to say about the playwright project, it really is such a great improvement over selenium and I think it’s now got a more ergonomic API than puppeteer
by umaar on 9/19/20, 10:28 PM
I'm keeping the codebase open on GitHub: https://github.com/umaar/learn-browser-testing/ so anyone who wants to follow along can do so for free.
by hudixt on 9/19/20, 10:37 PM
Things we are supporting - No-code test creation. Both playwright-cli and QAwolf supports it. - Much more control over elements. We're using native chrome extension to achieve it. Integrated ChaiJS on top of it. - Automated screenshot capturing, video + all debug info (console, network, DOM) when test fails.
We're looking for early beta users. If you're interested in trying it out + pizza send along your way, please fill this form https://bit.ly/2FU2Vc4.
P.S.- We're planning to start beta testing in couple of days.
[1] https://crusher.dev - Currently unfinished landing page.
by defied on 9/20/20, 12:40 PM
by matlin on 9/19/20, 6:31 PM
by nsonha on 9/20/20, 7:14 AM
by frabcus on 9/19/20, 8:34 PM