Is there a way I can use a website 'inspect element' piece of code as a selector?

Hey there,

I need to click a specific element of a website and I have the inspect element code of it. I have been trying to make it so that this is a something which a click activity will be able to press, but haven’t had much luck.

So, the inspect element part is:

<img draggable="false" src="/vizql/tilecache/BBB91F4CEAED4D338A52FC3D38005E37-1:3/8333/0c807fbb0beab69916c2e6c0518c0599070cd5e6baca910f84a8ae4b2d45a495/views.14986610875715981364_3659304958791998218.yheader.0.78.png?=1647355369699Z30" style="left: 0px; top: 34710px;">

What of this would I be able to use to click this element (if anything)? The ‘top: 34710px;’ part of it is where the pixels are situated on the screen and so will need to be included if possible.

Apologies if this isn’t clear enough, please let me know if you have any questions - I’m still a noob for this!

Thank you!

Hi @dr1992 ,

The selector needs a bit of refining, and it will be difficult to explain exactly what changes have to be made unless we see the entire UI Explorer, but here is a video that can get you started.

Kind Regards,
Ashwin A.K

Hey,

So the code is a directly taken from the inspect element:

The issue is that I wouldn’t know how this has to be written in conjunction with existing selectors. I am trying to click a specific ‘cell’ of an imbedded table of a website, however, each element displays as an image rather than useful data. I was hoping that if I can get the bot to click this cell then I can use it to establish ‘rows’ as there is a pattern in how much the px counts up.