Webwright
Webwright copied to clipboard
May I ask:what is a good way to strictly prevent an LLM from generating or outputting large amounts of HTML/DOM code? I only want it to use semantic snapshots.
May I ask:what is a good way to strictly prevent an LLM from generating or outputting large amounts of HTML/DOM code? I only want it to use semantic snapshots.
Using direct code execution let the LLM drive Playwright, but it acts overly clever, which makes my token consumption explode.