You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a test helper that populates a form that I'm porting from mechanize to webtest. During this I've noticed that webtest ignores the disabled attribute on individual radio buttons. Given the following HTML:
if I feed it to webtest (via a very simple wsgi app) and access the form, the following things stand out, form.fields['radio-4'].options lists all four options, including the disabled one.
Some interesting details that may be relevant:
print(form.html) doesn't even show "disabled" attributes
print(form.text) shows the disabled="disabled", but the HTML has been reformatted and doesn't match my actual HTML source
The text was updated successfully, but these errors were encountered:
I've a test helper that populates a form that I'm porting from mechanize to webtest. During this I've noticed that webtest ignores the
disabled
attribute on individual radio buttons. Given the following HTML:if I feed it to webtest (via a very simple wsgi app) and access the form, the following things stand out,
form.fields['radio-4'].options
lists all four options, including the disabled one.Some interesting details that may be relevant:
disabled="disabled"
, but the HTML has been reformatted and doesn't match my actual HTML sourceThe text was updated successfully, but these errors were encountered: