cobrateam / cobrateam/splinter
Clicking a checkbox should not submit the form
Open
bug
django
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 511
- PR merge metrics
- No merged PRs in 30d
Description
Using a Django client, checkboxes are considered to be LxmlControlElements, where `click` then will submit the form:
https://github.com//cobrateam/splinter/blob/986ce0a10c52f08196b32b91f752182cb7517892/splinter/driver/lxmldriver.py#L421-L433
I've used `browser.find_by_id("id_foo").first.click()`.
The workaround is using `browser.check("foo")`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.