PageObjectExtension icon indicating copy to clipboard operation
PageObjectExtension copied to clipboard

Impossible to define element with xpath selector

Open funkyproject opened this issue 5 years ago • 0 comments

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

funkyproject avatar Nov 29 '21 09:11 funkyproject