open "file://${__DIR__}/smart_selector/page.html"
assert "smart=By-id-suffix" "By id suffix"
assert "smart=By-name" "By name"
assert "smart=By-class" "By class"
assert "smart=By-id-fragment" "By id fragment"
assert "smart=By placeholder" "By placeholder"
assert "smart=By label sibling" "By label sibling"
assert "smart=By label parent" "By label parent"
assert "smart=By radio value" "By radio value"
assert "smart=By checkbox value" "By checkbox value"
click "smart=By submit text"
assert btn_text "By submit text"
click "smart=By input button text"
assert btn_text "By input button text"
click "smart=By button text"
assert btn_text "By button text"