News for hackers. Stuff that matters.

arjun27

Show HN: Empirical – test framework for JavaScript developers building with LLMs

https://github.com/empirical-run/empirical

Hi HN!This is Arjun and Saikat, and like other product engineers, we've been excited to build with LLMs. Getting powerful models available as off-the-shelf HTTP endpoints is a huge leap forward to integrate and ship ML to end-users.While building on top of LLMs, we've also experienced the pain of non-deterministic behavior – especially for applications that require smaller models. Iterating...

( Read More... | no comments | 3 points | on HN )
Re:Playwright for .NET is now stable on Thursday June 10, 2021 @10:06AM (#27460939)
With the latest release, Playwright includes an integrated test runner: https://playwright.dev/docs/next/test-intro
Re:Playwright for .NET is now stable on Thursday June 10, 2021 @08:04AM (#27459662)
Were you able to use the DOM snapshots to debug why the selectors did not resolve? Would love to know more.
Playwright has always supported all platforms: Win, Linux and Mac. Is there something that didn’t work for you?
In short: support for WebKit (to test Safari), out-of-process automation (not constrained by scope of in-page JavaScript, for example, to test multiple pages/frames/domains), support for non-JS language bindings. For a more comprehensive list, check out "Why Playwright?"[1].

[1] https://playwright.dev/#version=v1.4.1&path=docs%2Fwhy-playw...

Thanks for the feedback! I'm on the Playwright team.

We are building playwright-runner[1] to solve this problem. We are dogfooding the project internally, and a few weeks away from opening it up to early adopters.

[1] https://github.com/microsoft/playwright-runner

tl;dr: Better ergonomics, faster, more reliable and more coverage of web platform.

* The Playwright API auto-waits for the right conditions on every action on the page (click, fill). This ensures automation scripts are concise to write and maintain over time.[1]

* Unlike Selenium, Playwright uses an bi-directional channel between the browser and automation script. This channel is used to listen to events from the browser (like page "load" event, network requests). These events enable Playwright scripts to be precise about browser state and prevent the need to rely on sleeps/timeouts, which contribute to flakiness of Selenium scripts. This is also exposed in the API, for more powerful automation[2].

* Playwright also has a wider coverage for modern browser features, including device emulation, web workers, shadow DOM, geolocation, and permissions.

[1] https://playwright.dev/#version=v1.3.0&path=docs%2Factionabi... [2] https://playwright.dev/#version=v1.3.0&path=docs%2Fapi.md&q=...

Thanks for the feedback. I'm from the Playwright team, and I'd love to know more on what was missing for you.
Awesome work and love the pricing model.
Re:Cloudflare was down on Friday July 17, 2020 @06:11PM (#23876555)
more like Cloudflared
- Banning TikTok would move traffic to Instagram, not a “local Indian entrepreneur”

- the Indian startup ecosystem is dependent on external capital, a lot of which comes from China. This protectionist attitude will lead to a overall negative sentiment about investing in Indian tech.

Re:InboxSDK – Build apps inside Gmail on Saturday March 14, 2020 @11:59PM (#22581142)
Seems to be closed source?
Re:Our team's troubles writing automated UI tests on Saturday August 31, 2019 @08:04PM (#20849614)
That is very interesting! What benefits do you see from using UiPath over testing frameworks?
Re:Our team's troubles writing automated UI tests on Saturday August 31, 2019 @08:03PM (#20849608)
Any recommendations of commercial products that worked for you?

Older »