May-21-2018, 07:16 AM
hi,
I have some text that i wish to enter via selenium into a webpage but my problem i want to insert them at beginning of the text as right now of there is already text into the text box it inserts my text at the bottom.
I have some text that i wish to enter via selenium into a webpage but my problem i want to insert them at beginning of the text as right now of there is already text into the text box it inserts my text at the bottom.
data_reference = driver.find_element_by_xpath('//*[@id="editdetails_frm"]/table/tbody/tr[24]/td[3]/textarea'+"\n") data_reference.send_keys(str(ele[1])) data_reference1 = driver.find_element_by_xpath('//*[@id="edit_detail[22]"]') data_reference1.click()above is snippet of my code. Help is appreciated.Please dont mind the indentations i am trying to level them