Commit 56e1b63
fix: add update_browse_history handler and fix verify_apps crash (#156)
Bug 6a: The YouTube task config uses "update_browse_history" to
pre-populate Chrome's history.sqlite with URLs before the agent runs.
This was being skipped as an unknown type. Now translates to a Python
script that kills Chrome, finds the History DB, and INSERTs entries
with proper Chrome timestamps (microseconds since 1601-01-01).
Bug 6b: verify_apps crashed with "AttributeError: 'list' object has
no attribute 'replace'" because the WAA task JSON uses "app" (list)
but the handler expected "apps" (string). Now handles both parameter
names and properly serializes the list with repr().
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e898d96 commit 56e1b63
1 file changed
Lines changed: 59 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
1592 | | - | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1593 | 1596 | | |
1594 | 1597 | | |
1595 | | - | |
| 1598 | + | |
| 1599 | + | |
1596 | 1600 | | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1600 | 1654 | | |
1601 | 1655 | | |
1602 | 1656 | | |
| |||
0 commit comments