Skip to content

Demos

python -m examples.disambiguation_demo    # disambiguation and the choice memory (run it twice)
python -m anchor.main                     # end-to-end example on SauceDemo, with a fixed plan

python -m examples.disambiguation_demo runs on a local page: the first time it asks you to pick elements; the second time it remembers (the choices are in memory/demo.json; delete it to start over).

python -m anchor.main runs on the real SauceDemo site, with a persistent browser profile (profiles/user_001). The first time, log in by hand in the browser that opens (user standard_user, password secret_sauce): the password never goes through ANCHOR. The choices are kept in memory/saucedemo.json.

examples/legacy_saucedemo.py is the fixed-selector version (the "before"), kept for comparison.