PageObjectExtension
PageObjectExtension copied to clipboard
Impossible to define element with xpath selector
Hello,
It is impossible to define an element with the xpath selector As in the example of the getDefined method
/*
* - :elementName => :cssLocator
* - :elementName => [:selectorType => :locator]
The return type can only be string and not array.
https://github.com/FriendsOfBehat/PageObjectExtension/blob/2e65b0bd7cca6ff2085b0fa885dc13dc57b18d4b/src/Page/Page.php#L195