Issue Finding XPATH

I’m using an Instagram DM automation bot and when I put in the correct Xpath for the message field, it does not recognize it and gives me this error " Line 13: timeout reached when looking for element ‘/html/body/div[2]/div/div/div[2]/div/div/div/div[1]/div[1]/div/div[2]/div/section/div/div/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea’"

Here’s the code coding the relevant part
“Command”: “type”,
“Target”: “/html/body/div[2]/div/div/div[2]/div/div/div/div[1]/div[1]/div/div[2]/div/section/div/div/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea”,
“Value”: “${!COL2}”,
“Targets”: [
“css=#mount_0_0_3U > div > div > div.x9f619.x1n2onr6.x1ja2u2z > div > div > div > div.x78zum5.xdt5ytf.x10cihs4.x1t2pt76.x1n2onr6.x1ja2u2z > div.x9f619.xnz67gz.x78zum5.x168nmei.x13lgxp2.x5pf9jr.xo71vjh.x1uhb9sk.x1plvlek.xryxfnj.x1c4vz4f.x2lah0s.x1q0g3np.xqjyukv.x1qjc9v5.x1oa3qoh.x1qughib > div.xh8yej3.x1gryazu.x10o80wk.x14k21rp.x1v4esvl > section > div > div > div > div.x9f619.x2lah0s.x1nhvcw1.x1qjc9v5.xozqiw3.x1q0g3np.x78zum5.x1iyjqo2.x5yr21d.x1t2pt76.x1n2onr6.x1ja2u2z > div.x9f619.x1n2onr6.x1ja2u2z.x78zum5.xdt5ytf.x193iq5w.xeuugli.x1r8uery.x1iyjqo2.xs83m0k > div > div > div > div > div > div.x1uvtmcs.x4k7w5x.x1h91t0o.x1beo9mf.xaigb6o.x12ejxvf.x3igimt.xarpa2k.xedcshv.x1lytzrv.x1t2pt76.x7ja8zs.x1n2onr6.x1qrby5j.x1jfb8zj > div > div > div:nth-child(2) > div > div”

Use external tool to detect more xpath

in chrome store you find more xpath finder for chrome

I’m sure I have the right xpath. The script just doesn’t work for some reason. It says ’ * [error][ignored]

Line 13: run command: element found is neither input nor textarea’ even though I have the right path which is;

This is NOT a good xpath because can be dynamic but you can use another good generic xpath to detect element

This is an example of same element with multiple xpath and you can see that some xpath are not good because can change (example if change ALT tag I can detect the element by another xpath that not change)


Yes bro I’m having the same issue. I watched How To Get SMMA Appointments 2023 (FULL COURSE FREE) - YouTube for smma,pretty sure we watched the same video. Not working for me, lmk if you got yours to work