Ghost.py
Ghost.py copied to clipboard
expect_loading on Ghost.click undocumented.
click.(expect_loading=True) is needed for form submissions, but this behaviour is totally undocumented, it is needed for all forms that I tried.
You can also do g.call('#myForm', 'submit', expect_loading=True).
But yes, the documentation miss few examples.
Yeah - I managed to get it to work eventually :). Cool project.
Maybe fill() (https://github.com/jeanphix/Ghost.py/blob/dev/ghost/ghost.py#L683) could have a submit=False argument.