Use Web Element and XPath to save the alt-Text from a picture in a variable?

Hello everyone,

I reference an image with an XPath and want to copy the alt text and save it in a variable. Is this possible?


img class=“logo__img” src=“abc.png” alt=“alt text

1 Like

Hi @jawohl yes, you can use the “Use element attribute” option for it


1 Like