adsmith2929 0 Posted October 11, 2020 Report Share Posted October 11, 2020 Is there a way to use the exists commands to find IF there are two instances of a variable? Or IF there are more than one instances of a variable?If not, is there a way to find IF there are more than one instances of a variable? Quote Link to post Share on other sites
tinku 6 Posted October 12, 2020 Report Share Posted October 12, 2020 Go like that if you want both the element if(both{existelement1},{existselement2}) If you want one of them if(either{existelement1},{existselement2}) 1 Quote Link to post Share on other sites
adsmith2929 0 Posted October 12, 2020 Author Report Share Posted October 12, 2020 Go like that if you want both the element if(both{existelement1},{existselement2}) If you want one of them if(either{existelement1},{existselement2}) What if it is the SAME element? I want it to find the IMAGE that appears TWICE on the page and to then CLICK the SECOND ONE. But the image has to be selected with the camera because the elements and code are different for each. So it is the SAME image, but with different names. The FIRST image appears in the same spot every time. The SECOND image appears in a different spot every time. What would you recommend for that? Here's what it looks like... https://pasteboard.co/JvmAxHa.png The first eight has code that looks like this... <img src="icon.php?ts=5577&openkey=76767"> The second eight has code that looks like this... <img onclick="return click(3, 'bffedea5ca512');" src="clickicon.php?iconid=3&ts=5577&openkey=76767"> The next time the location of the second eight will be different. So my thought was to take a pic of all the images using the camera tool, then have it click the second instance of that image if the second one exists. But there has to be a way to get the result I am after. Any other suggestions tinku? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.