1.Page Should Contain 1.1存在页面上的内容 1.2 不存在页面上的内容, 运行抛异常 1.3 Page Should Not Contain 1.4 1.5 输入页面元素,判断 1.6Page Should Not Contain Element 不存在的页面元素,运行成功 1.7Page Should Not Contain Element 运行结果:报错 2.Page Should Contain Element 2.1 运行成功 2.2 3.更改id 4.Get T…
断言: 1.1Page Should Contain Maximize Browser Window sleep 2 Comment Page Should Contain hao123 #断言当前页面是否包含此文本Comment Page Should Contain 高考加油 #如包含文本则OK,不包含抛异常 1.2.1Page Should Not Contain 运行成功 1.2.2 运行报错,页面包含多测师 2.Page Should Contain Element 2.1Commen…