Skip to content

Some YAMLs only work with JavaScript #1397

@crdunwel

Description

@crdunwel

Perhaps this issue has been raised before but here it goes.

Example: https://github.com/unitedstates/contact-congress/blob/master/members/P000593.yaml

Problematic URL in Form submission process: https://forms.house.gov/htbin/formproc_za/perlmutter/webforms/issue_subscribe_parm.txt&form=/perlmutter/webforms/issue_subscribe_verify.html

screen shot 2015-01-14 at 11 22 32 am

<script language="javascript">
//document.all.Submit.click();
document.forms[0].Submit.click();
</script>

As one can see, there is a final step at the end of this form submission process where JavaScript is submitting a form. If one uses a headless browser like Selenium then the JavaScript will execute and the form will submit. Otherwise, this is the last page that the steps defined by the YAML will reach (and thus not submitting the form).

It would be helpful to identify and fix the YAMLs where this issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions