Need Help Typing Text into Tough Form [xpath / selenium] - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Need Help Typing Text into Tough Form [xpath / selenium] (/thread-18884.html) |
Need Help Typing Text into Tough Form [xpath / selenium] - digitalmatic7 - Jun-05-2019 I'm struggling I have no idea how to proceed. I just need to send text to these 2 fields. The code is the exact same for both fields and its dynamic - it will switch between [1] and [2] depending which box I hover over. How in the world do I send text to these? /html/body[@class='diy-creation-body show-action diy-new light-background web-body']/main[@class='container web']/div[@id='composer']/div[@class='diy-composer']/div[@class='current-step']/div/div[@class='trigger-fields']/form[@class='form']/div[@class='trigger-fields-container']/ul[@class='fields']/li[@class='field'][1]/span[@class='input']/div/div[@class='ingredients-text-field ingredients-text-field-text ingredients-text-field-on-color']/div[@class='growing-text-area']/textarea[@class='hidden-text'] EDIT: Got it. My Xpath helper plugin was bugging out. I used a new one and it gave me everything I needed, nice and clean and easy! |