cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CSS - extract the username

Good morning everyone, I need your advice or collaboration to extract the username from an internal page of my company.

 

I want to extrac "<!---->lortiz<!---->" 

 

 

 

<div class="ax-navbar-info">
<div class="ax-navbar-info-oficina">
<p style="color:#5b5b5b; margin-left: 10px; font-weight: 500;"><!---->Administración<!----></p>
<p class="navbar-fecha" style="color:#5b5b5b; margin-left: 10px;"><!---->June 12-2024 8:14:09 a.&nbsp;m.<!----></p>
</div>
<div class="ax-navbar-username">
<p style="margin-right: 5px; color: #5b5b5b; font-weight: 500;"><!---->lortiz<!----></p>
<iron-icon style="color: #5b5b5b;" icon="lumo:user" slot="prefix"></iron-icon>
</div>
</div>

 

 

the answer from the test is when I validate it in the terminal.

 

carlos_carreno_0-1718200578412.png

 

thanks

 

 

2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

when you inspect the page, are you able to copy that segment as the CSS and submit that in the user session tagging setting for the given app?

 

-Chad

tyler_rowe
Dynatrace Helper
Dynatrace Helper

Can you try a CSS selector property set to

.ax-navbar-username

I think we should be able to pull it directly from the class.

 

Featured Posts