@to-nice said in Is making a Java click suspicious?:
Better an open URL with [[CURRENT_URL]] as referrer?
spoiler
I want to find and click a picture on Pinterest. I know the official but official "src" value. If I want the src value I want, how can I click it

There are many pictures on the page. however, I would like to click on the picture that I know the value of src.
@xxasaxx said in img src find and click?:
I want to find and click a picture on Pinterest. I know the official but official "src" value. If I want the src value I want, how can I click it
Use Xpath
//img[@scr="HERE_IS_THE_LINK_TO_THE_IMAGE"]
@xxasaxx said in img src find and click?:
@Fox SyntaxError: Parse error during execution of action 420554622 i have a link expressions.
'//img[@src="' + variable + '"]'
@xxasaxx said in img src find and click?:
@Fox said in img src find and click?:
'//img[@scr="' + variable + '"]'
I did not understand anything. I took an example for you. in this example, can you do it once for me to learn please
https://community.bablosoft.com/topic/10607/экранирование-квадратных-скобок-для-вставки-переменной/7
im begiinner and dont understand...
i create set variable
'>XPATH>//img[@scr="[' + [[PINLENECEKRESIM]] + ']'
but not click only wait and error:
Thread #1 : Waiting for element >XPATH>//img[@scr="https://i.pinimg.com/originals/72/4a/67/724a672ba70052807e718fde819a1e4c.png]

@xxasaxx said in img src find and click?:
im begiinner and dont understand...
i create set variable
'>XPATH>//img[@scr="[' + [[PINLENECEKRESIM]] + ']'
You copied my example incorrectly
'>XPATH> //img[@src="' + [[PINLENECEKRESIM]] + '"]'

Test script