public void AddMenu_AddImage_NextPage() { string filePath = PortalChromeDriver.CreateFolder(@"自定义菜单\检查图片 选择素材 对话框"); MenuPage.AddMenu("1"); MenuPage.AddImage_NextPage(); PortalChromeDriver.TakeScreenShot(filePath, "检查图片选择素材对话框"); Thread.Sleep(2 * 1000); Assert.IsTrue(Utility.IsAt(MenuElement.Notification, "保存成功")); }