How can i get text between span tags

I am using data scrapping feature.
i am unale to get data or you can say i am in learning phase , so can i anybody help me out

I want begindate ,start time ,end date end time in different columns while scrapping

currentlywhile trying i am getting like shown in above image


Welcome to the uipath community.

Use Get Text activity to read that text. For this no need of Data scraping as it is not structured data.

1 Like

hey thanks but is there not any command like getattribute which we can add in our data definition file or something like get next text anything specific

1 Like

for example in selenium we can use below syntax

String text = driver.findElement(By.tagName("div")).getAttribute("textContent");

Hi @aditya_kaushal - Selenium use the dom to automate the webApplication and it will use Chrome Driver to run the chrome and automate that but in uipath it will work more on frontend rather than directly going to the dom. So as @lakshman suggest please use Get Text to get the text.
If you still want to read the text between tag then read the source code of the page using UiPath and create a regex which will give you the output.

Hope it will help you.


1 Like