Yeah, I'll do them today.


On 26 September 2013 10:32, Nicholas Pilon <notifications@github.com> wrote:

> In lettuce_webdriver/webdriver.py:
>
> > @@ -275,6 +275,24 @@ def input_has_value(step, field_name, value):
> >          assert_equals(text_field.get_attribute('value'), value)
> >
> >
> > +@step(r'I submit the only form')
> > +def submit_the_only_form(step):
> > +    """
> > +    Look for a form on the page and submit it.
> > +    """
> > +    form = world.browser.find_element_by_xpath('//form')
> > +    form.submit()
> > +
> > +
> > +@step(r'I submit the form "([^"]*)"')
>
> Think those steps should be added before I merge this, or later?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/bbangert/lettuce_webdriver/pull/33/files#r6590390>
> .
>