Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 0effa17

Browse files
committed
增加日志
1 parent 0654beb commit 0effa17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/suren/autotest/web/framework/selenium/action/SeleniumClick.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void click(Element ele)
115115
}
116116
catch(WebDriverException e)
117117
{
118-
logger.error("元素点击操作发生错误。", e);
118+
logger.error(String.format("元素[%s]点击操作发生错误。", webEle), e);
119119
errorTimes++;
120120

121121
//如果由于目标元素不在可见区域导致的异常,尝试滚动屏幕

0 commit comments

Comments
 (0)