#Python Script:
def suggestBox(self,text):
driver = self.driver
d=driver.find_element_by_id("suggestion_box").send_keys(text)
time.sleep(3) #wait fo suggestions to appear (could take longer)
path="//tr/td[text() = "+"\""+text+"\"]" #choosing the inputed text
from the suggestion Box
e=driver.find_element_by_xpath(path)
e.click()
Good Luck :)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/dRduF5TpBdgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.