I'm using modules selenium and xlrd to input many cells of data (~1000) from excel into a web form. I've successfully written code that does this using selenium's send_keys, but there is currently a large delay in time due to processing of the input before the form gets submitted. I currently compile one large string that contains the value of every cell and then use send_keys to put it into the form all at once like this:
for z in range(1000):
ss = ss + (str(sh.row_values(z)[1])) + "\n"
form.send_keys(ss)
I've noticed that when I simply copy and paste the 1000 excel cells into the form manually, there is almost no processing delay before submission, so I imagine there is a more efficient way to accomplish what I want without using selenium's send_keys. I would appreciate any help.