How Do I Edit Codemirror With Selenium In Python?
I keep getting the error message below every time I try to insert text into CodeMirror on my webpage. Does anyone know how to successfully edit codemirror with selenium? WebDriverE
Solution 1:
Figured out the answer to this one, I had to use actionChains instead of just regular old send_keys.
codeMirror = self.driver.find_element(".CodeMirror")
action_chains.click(codeMirror).perform()
action_chains.send_keys("Hello World").perform()
Post a Comment for "How Do I Edit Codemirror With Selenium In Python?"