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