Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
342 views
in Technique[技术] by (71.8m points)

javascript - 如何使用硒验证网页中是否存在图像? [重复](How do I verify an image is present in a web page using selenium? [duplicate])

After inspecting the image, I tried using xpath from chropath to identify but it doesn't recognize.

(检查完图像后,我尝试使用chropath中的xpath进行识别,但无法识别。)

I basically need to make sure my web driver can identify this image and then i want to verify if its there.

(我基本上需要确保我的Web驱动程序可以识别该图像,然后我要验证其是否存在。)

This is a screenshot of the image and html body when i inspect it.

(这是我检查图像和html正文时的屏幕截图。)

  ask by Arnish Chakma translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...