How to highlight element in a webpage using Robot Framework?

899 views
Skip to first unread message

Ru

unread,
Mar 2, 2020, 4:50:49 AM3/2/20
to robotframework-users
Hi Guys,

 I used the "SeleniumScreenshots" library wherein there is a keyword Highlight but doesn't work with me. 

This is my reference but not working.

I had also imported the "Selenium2Screenshots library but still doesn't work.

My reference


This is my current setup

Python version : 3.7.4
SeleniumLibrary : 4.3.0
Robot Framework : 3.1.2


Thank you if someone in this group can solve my concern. :)

Jirayu Kaewprateep

unread,
Mar 2, 2020, 4:52:17 AM3/2/20
to robotframework-users, ruelar...@gmail.com
I think we should relied on the same protocol, can you success open the session or any error message return?

pi@raspberrypi:jkaewp...@gmail.com


From: robotframe...@googlegroups.com <robotframe...@googlegroups.com> on behalf of Ru <ruelar...@gmail.com>
Sent: Monday, March 2, 2020 4:50:48 PM
To: robotframework-users <robotframe...@googlegroups.com>
Subject: How to highlight element in a webpage using Robot Framework?
 
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/c6c213b1-da9e-4ea2-b8c0-e73c1f2856fd%40googlegroups.com.

Hélio Guilherme

unread,
Mar 2, 2020, 4:54:32 AM3/2/20
to robotframework-users
Hello.

I may have a solution here https://robotframework.transformidea.com/.

Please take note that not all elements are highlight-able.

--

Ru eL

unread,
Mar 2, 2020, 5:27:09 AM3/2/20
to heliox...@gmail.com, robotframework-users
Hi Sir Helio,

Thank you so much for these suggestions. I've tried now the library-specific those "Highlight_Example.zip" but I still encounter
the error   "AttributeError: 'str' object has no attribute '_parent'".

I had encountered this error before and the code that you've provided.

You received this message because you are subscribed to a topic in the Google Groups "robotframework-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/robotframework-users/mA7OM0_s11U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/CABNCgGS7bgdGkx3CV4pzFeyXqMg4V425XM3afapAhWDLpeF6zw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages