News for hackers. Stuff that matters.
Re:Show HN: Kasaya – A scripting language and runtime for br... by KaoruAoiShiho on Thursday February 20, 2020 @10:35AM (#22375754)
The whole point of this is the scripting language, there are already lots of other browser automation tools out there.
Re:Show HN: Kasaya – A scripting language and runtime for br... by BiteCode_dev on Thursday February 20, 2020 @10:45AM (#22375835)
A scripting language is not a goal in itself (although in the case of a DSL, it often is unfortunately because of the coolness factor), solving a problem is.

Here the problems it tries to solve are:

1 - to have a nicer API to do automation

2 - for non tech saavy users to be able to create tests

My take on this is that DSL are a wrong answer to this.

1 can be solved with a better lib, with a better API, or a dedicated env.

2 is probably not solvable: automatic testing it hard, you need to be tech saavy to do it.

But let's say you still want to solve 2, a better approach would be to solve 1, then solve 2 by creating a GUI that let users record their actions and generate code from 1.

Such API and GUI exist, as you said, but they could be improved by tenfold.

It's boring work though, and working on a DSL is much more cool.

Re:Show HN: Kasaya – A scripting language and runtime for br... by SlowRobotAhead on Thursday February 20, 2020 @11:18AM (#22376123)
> A scripting language is not a goal in itself

Agreed, I think this is a case where people forget “what is the problem I’m trying to solve” and instead get lost in a means not an ends.

Re:Show HN: Kasaya – A scripting language and runtime for br... by exdsq on Thursday February 20, 2020 @12:05PM (#22376516)
Depends if the goal was to make a scripting language and at the same time tackle a problem (or not). Some people like building stuff for the hell of it. A language by itself is an interesting non-trivial project.