当鼠标悬停在 UFT 中的元素上时,如何查找链接数量并打印它们?

发布于 2025-01-15 00:30:07 字数 274 浏览 3 评论 0原文

最近我遇到了fireevent,并尝试在Flipkart网站上实现它。我试图使用 firevent("onmouseover") 作为链接。

我在搜索框中搜索了手机,并获取了该页面上的链接数量,然后我们可以看到电子产品、电视和移动设备。电器、男人、女人等。当鼠标悬停在这些名称上时,我可以看到一些带有内部链接名称的项目。所以,我想知道当鼠标悬停在电子产品、电视和设备上时有多少个链接。电器、男人、女人等并打印出来。

我在谷歌上搜索了很多这些内容,但找不到任何有用的资源。

请帮我解决上述问题。

Recently I came across fireevent and I tried to implement it on the website of Flipkart. I was trying to use firevent("onmouseover") for the link.

I searched for mobiles in the search box and took the number of links on that page, then we can see electronics, TVs & appliances, men, women, etc. when the mouse is hovering on these names I can see some items with names which are links internally. So, I want how many those links are there when the mouse is hovering on electronics, TVs & appliances, men, women, etc and print them.

I googled a lot for these and I could not find any useful resource for this.

Please Help me solve the above problem.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文