Python Forum
Need Help Typing Text into Tough Form [xpath / selenium]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help Typing Text into Tough Form [xpath / selenium]
#1
I'm struggling Huh 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?

[Image: vXqPVrk.jpg]

/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!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mypy typing error WannaBePythonDev 2 1,159 Sep-05-2021, 10:18 AM
Last Post: WannaBePythonDev
  No module named 'pysolar' - even tough pysolar is installed - What am I doing wrong? Jghurt 5 2,621 May-08-2021, 07:03 PM
Last Post: Jghurt
  Web Form to Python Script to Text File to zip file to web wfsteadman 1 1,472 Aug-09-2020, 02:12 PM
Last Post: snippsat
  Typing and variable initializers jgossage 0 1,203 May-29-2020, 03:18 PM
Last Post: jgossage
  Creating Dictionary form LOG /text file DG1234 7 3,683 Feb-13-2019, 08:08 PM
Last Post: DG1234
  Is there any way to simulate clicks/typing to an inactive window using Python? Nwb 1 4,802 Jun-11-2018, 08:56 AM
Last Post: Larz60+
  Typing into CMD Prompt while its behind another window andy410 0 2,016 Apr-27-2018, 08:24 PM
Last Post: andy410

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020