【发布时间】:2016-08-04 12:24:29
【问题描述】:
是否可以使用 FluentAutomation 框架检查文本是否包含在元素的文本中?
文档中提供的示例用于匹配精确文本 http://fluent.stirno.com/docs/#asserts-text
I.Assert.Text("FluentAutomation").In("header");
如何检查元素是否包含文本?
例如: 标题文本是“我不需要 Mytext 等的随机文本”
我想使用 FluentAutomation 断言标题包含“MyText”
【问题讨论】:
标签: contains assert fluentautomation