Enha: palywright dom and elements fetching

This commit is contained in:
Grail Finder
2026-03-03 09:27:05 +03:00
parent 0c9c590d8f
commit 93ecfc8a34
4 changed files with 254 additions and 4 deletions

View File

@@ -71,8 +71,8 @@ type Config struct {
CharSpecificContextTag string `toml:"CharSpecificContextTag"`
AutoTurn bool `toml:"AutoTurn"`
// playwright browser
NoPlaywright bool `toml:"NoPlaywright"` // when we want to avoid pw tool use
PlaywrightHeadless bool `toml:"PlaywrightHeadless"`
NoPlaywright bool `toml:"NoPlaywright"` // when we want to avoid pw tool use
PlaywrightDebug bool `toml:"PlaywrightDebug"` // !headless
}
func LoadConfig(fn string) (*Config, error) {