I was writing something that was listening for an onsubmit event. There was no way to trigger it. One way to do this is with .typeIn('<enter>') but not sure?
Anyway I put this in, it's clean but doesn't really relate to the user pressing the enter key.
Realised we didn't have a
.submit()
on elements.I was writing something that was listening for an onsubmit event. There was no way to trigger it. One way to do this is with
.typeIn('<enter>')
but not sure?Anyway I put this in, it's clean but doesn't really relate to the user pressing the enter key.