Fix #1132 def generation for methods with only one param (#1133)
Fix #1132 def generation for methods with only one param (#1133)

* Fix def generation for methods with only one param

Methods with only one locator parameter should generate two methods in the interface definition.
Fixes #1132

* Fix spacing/braces

* No trailing spaces, got it.

Codeception/CodeceptJS,Codeception/CodeceptJS,Codeception/CodeceptJS