Hi, First time casperjs user here.
I'm trying to test the following behavior:
1. Enter text in search field and results are updated.
2. Delete text from search field and all the results are shown.
I can do 1, but for 2 I'm stuck. I am trying to delete the text but it is not doing so. I did this.sendKeys('form input[name="query"]', ''); but the input field retains its old value. I noticed that the text is appended to the existing text in the input field.
I would gladly appreciate any suggestions. Thanks.