I am trying to get search text in Firefox via its built in "find in page" search
You can easily achieve bringing up the searchbox via actionchains
Can you just arbitrarily just type keys instead of sending it to an element? Because once you bring up the search box it has focus.
Ctrl + F
You can easily achieve bringing up the searchbox via actionchains
ActionChains(self.browser).send_keys(Keys.CONTROL, "f").perform()However i cant figure out how to send keys to the input box. There is no HTML for it. You cannot inspect the element because its not part of the page. So how can I input text into this inputbox?
Can you just arbitrarily just type keys instead of sending it to an element? Because once you bring up the search box it has focus.
Recommended Tutorials: