python selenium send_keys CONTROL, 'c' not copying actual text -


i highlight section in web page, send_keys, .send_keys(keys.control, "c"), not place intended text copy in clipboard, last thing manually copied in clipboard:

from selenium import webdriver   selenium.webdriver.common.keys import keys   driver = webdriver.firefox()   driver.get("http://www.somesite.com")   driver.find_element_by_id("some id").send_keys(keys.control, "a") #this highlights section need copy   elem.send_keys(keys.control, "c") # not copy text** 

i tried using firefox edit menu select , copy text, didn't work either , cant find online assist other possible mention of bug (tried old version of firefox, didn't solve issue). ideas?


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -