I really need help with the syntax.
I have the input field:
<input class="email__field ng-pristine ng-empty ng-valid-email ng-invalid ng-invalid-required ng-touched" name="email" ng-model="authForm.email" ng-keypress="keypress($event);" ng-disabled="false" focused="true" required="" style="" type="email">
According the documentation: http://devdocs.io/codeceptjs/helpers/seleniumwebdriver/index#fillfield
I.fillField('email', 'hello@world.com');
should locate the element by name. But the test fails with the error message: "Field email not found by name|text|CSS|XPath"
Is the syntax wrong or maybe something is wrong with the webdriver? E.g. The previous command/step is:
I.amOnPage(some url here);
and it is working, so I think the webdriver should be ok.