【发布时间】:2018-01-12 13:31:46
【问题描述】:
如何获取错误消息:- 交易的身份验证错误联系您的帮助台
这是我的复制元素:
<div class="alert alert-error dismissible"
role="alert"
data-rendered="true"
style="overflow: hidden; height: 5.74723px;
padding-top: 1.43681px; margin-top: 0px;
padding-bottom: 1.43681px;
margin-bottom: 0px;"><button class="icon-dismiss" aria-label="Dismiss" type="button"></button>
<p><strong>Error: </strong>authentication error with Transaction contact your help desk</p></div>
我想要 xpath
【问题讨论】:
-
在这里要求解决方案不是一件好事,看到我们您的解决方案并看到我们为什么它不起作用。
-
欢迎来到 Stack Overflow!请参阅:How do I do X? SO 的期望是,提出问题的用户不仅会进行研究以回答他们自己的问题,还会分享该研究、代码尝试和结果。这表明您已经花时间尝试帮助自己,它使我们免于重复明显的答案,最重要的是它可以帮助您获得更具体和相关的答案!另见:How to Ask
标签: javascript java selenium xpath