u/jptyt

Smoother browser automation?

Hi folks, I'm trying to use openclaw to get some info from web, I know that this can be totally done by scrapping scripts, but I'd like to try AI. I created a skill with mixed human languages and some Dom extraction scripts.

The connection to browser seems unstable:

Things I optimized: I set the default browser-profile to 'user' because I want to use the existing logged in session. I tell ai to not use '--browser-profile' option for browser commands because it always put the option at the wrong location. I tell to run 'openclaw browser close' in the beginning so no previous connections.

Problems still existing: sometimes when it runs 'openclaw browser <subcmd>' the response is like 'this command is hanging, let me try something else...' then it does something I totally don't expect, like close the browser... I wonder what cause the hanging, should I simply increase the timeout? Or something to debug?

Another question is, should I use semantic language to tell ai what info to extract instead of writing Dom extraction scripts and telling ai to use them? Do you find a reliable way for ai to extract info from webpages in high volumes?

reddit.com
u/jptyt — 1 day ago