How to extract the hover text or tooltip text?
I tried using get attribute activity but no luck.
use case: if we hover on Twitter
user’s followers it shows the exact followers count that I want.
How to extract the hover text or tooltip text?
I tried using get attribute activity but no luck.
use case: if we hover on Twitter
user’s followers it shows the exact followers count that I want.
Thanks for your reply.
I tried right-clicking on hover text and then tried to spy it but no luck.
that hover text part did not highlight as a UI element so can’t use get attribute activity.
Hey @Rahul_Dhumne
Please find the workaround. This may help you.
PFA -
ScrapeTwitterFollowersCount.zip (113.5 KB)
Currently this is only designed to work for Narendra Modi’s profile. Please edit the selectors accordingly to make it work for any profile if this method suits you
Even if any help required on that part, please post here.
Thanks
#nK
Hey, Thanks for your quick solution.
I would like to know that the step you followed to get text activity.
when I tried to spy that hover text it is not taking as a selector.
Yep, you are right.
I just manipulated it from chrome dev tools.
Go to sources tab under dev tools.
Hover it and press F8.
You can now check the html code in dev tools and frame the selector for ui-path.
Use find element and then get the selector of it.
Then remove the find element and directly pass the selector (got from find element) to get text activity.
Thanks
#nK
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.