Fixed problem with submitting form by input[type=image] #936

Merged
merged 2 commits into from Mar 25, 2014

Conversation

Projects
None yet
2 participants
@piccagliani
Contributor

piccagliani commented Mar 24, 2014

I couldn't submit form by input[type=image], using css or xpath.

html:

<input type="image" src="button.gif" alt="Submit" />

test:

OK: $I->click("Submit");
NG: $I->click("input[type=image]")
NG: $I->click("input[@type='image']")
@DavertMik

This comment has been minimized.

Show comment
Hide comment
@DavertMik

DavertMik Mar 25, 2014

Member

Nice! Thank you

Member

DavertMik commented Mar 25, 2014

Nice! Thank you

DavertMik added a commit that referenced this pull request Mar 25, 2014

Merge pull request #936 from piccagliani/fix_input_type_image
Fixed problem with submitting form by input[type=image]

@DavertMik DavertMik merged commit ec9aba3 into Codeception:1.8 Mar 25, 2014

1 check passed

default The Travis CI build passed
Details
@piccagliani

This comment has been minimized.

Show comment
Hide comment
@piccagliani

piccagliani Mar 25, 2014

Contributor

Thank you!

Contributor

piccagliani commented Mar 25, 2014

Thank you!

@piccagliani piccagliani deleted the piccagliani:fix_input_type_image branch Mar 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment