Sending Keys Using Splinter
问题 I want to test an autocomplete box using Splinter. I need to send the 'down' and 'enter' keys through to the browser but I'm having trouble doing this. I am currently finding an input box and typing 'tes' into that box successfully context.browser.find_by_xpath(\\some\xpath\).first.type('tes') What I want to do next is to send some keys to the browser, specifically the 'down' key (to select the first autocomplete suggestion) then send the 'enter' key to select that autocomplete element. I've