AmbiguousElementMatcherException

public final class AmbiguousElementMatcherException
extends RuntimeException implements EspressoException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.support.test.espresso.web.matcher.AmbiguousElementMatcherException


An exception which indicates that for a given XPath there were multiple Elements found when only 1 element was expected.

Summary

Public constructors

AmbiguousElementMatcherException(String xpath)

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

AmbiguousElementMatcherException

AmbiguousElementMatcherException (String xpath)

Parameters
xpath String