selenium - Is it possible to verify toast in appium, using selendroid mode? -
is possible verify toast in appium, using selendroid mode?
if does, can explain how it's done?
you can using following code:
selendroiddriver.findelementbyid("showtoastbutton").click(); // button shows toast upon clicking webelement toast = testwaiter.waitforelement(by.linktext("hello selendroid toast!"), 3, selendroiddriver); assert.assertnotnull(toast);
Comments
Post a Comment