Skip to content

submitting forms with <button type="submit"> #26

Open
lukegalea opened this Issue Feb 12, 2011 · 0 comments

1 participant

@lukegalea

I have a form using jquery mobile. There's no input with type submit, only Login

I've tried browser.click('button[type=submit]'
and
browser.click('Login'
and form.submit , etc, etc.. Every variant I could think of. Every one gives me:

.../node_modules/.npm/tobi/0.1.1/package/lib/jquery/index.js:114
    if (!url) throw new Error('failed to click ' + locator + ', ' + prop + ' n
                    ^
Error: failed to click * form :submit, element not present
    at Object.click (.../node_modules/.npm/tobi/0.1.1/package/lib/jquery/index.js:114:21)
    at Object.submit (.../node_modules/.npm/tobi/0.1.1/package/lib/jquery/index.js:149:14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.