SinglePageObjectException constructor
const
SinglePageObjectException(
- PageLoaderElement element,
- int actualCount
Implementation
const SinglePageObjectException(PageLoaderElement element, int actualCount)
: super(
'Unable to locate element.\n\n'
'Expected to find exactly 1 match, but found $actualCount for:',
element);