Learner007
(Uipath Learner)
October 10, 2022, 2:45am
1
Hi Everyone, i have a scenario that i want to get the Text color and Font type of a Text from web page. Can anyone help me which activity i can use.
I used screen scraping Native text but i didn’t find any option there to check color and Font.
I’m attaching sample screenshot and the sample website URL below.
Hi @Learner007 ,
Can you confirm if you’ll be also receiving Texts that are in image or only text ui elements ?
The example/sample website provided contains an Image which contains text with a color.
Let us know your confirmation on the above, then we might be able to help you better.
Learner007
(Uipath Learner)
October 10, 2022, 4:36am
3
Hi @supermanPunch It’s only text
@Learner007 ,
If that is the case, would you consider the below sample to be a better example for the problem at hand ?
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
It is not an image, we can copy the text content.
Learner007
(Uipath Learner)
October 10, 2022, 4:40am
5
Yeh @supermanPunch but is there any activity in uipath to find Color & Font of the Text.
Hi @Learner007 ,
Give a try on the below component :
Take the Output in the form of Dictionary, we should be able to get the css attributes available like text and formatting.
Learner007
(Uipath Learner)
October 10, 2022, 5:08am
7
sure @supermanPunch i will check this once
1 Like