如何跳过NoSuchElementException?
或者,您可以详细说明如何仅在访问控件之前对其进行初始化?
它对我不起作用:
[FindByClass("profile"), WaitFor(on: TriggerEvents.BeforeAccess, ThrowOnAbsenceFailure = false)]
public UserProfileTile<TOwner> UserProfileTile { get; private set; }感谢您的帮助!
发布于 2019-03-06 19:25:38
问题出在WaitFor属性上。我在不同的地方用了很多次。所以,我清理了属性,现在一切都很好。感谢您的帮助!
https://stackoverflow.com/questions/55004580
复制相似问题