title: selenium can't locate the element while the element is right there
body: <p>i am trying to using the selenium auto input the HTML code in  <a href="http://ueditor.baidu.com/website/examples/completeDemo.html" rel="nofollow noreferrer">http://ueditor.baidu.com/website/examples/completeDemo.html</a>. My procedure is that click the html first, and then code HTML in, while the IDE always told me that cant locate the element. it mad me crazy that the after click the <a href="https://i.stack.imgur.com/drxZt.png" rel="nofollow noreferrer">HTML Button</a>, the element is right <a href="https://i.stack.imgur.com/UMgCc.png" rel="nofollow noreferrer">there</a>, but always error on. i just wonder how can i write in box after click the HTML button by using selenium? thanks to the warm-hearted guy</p>
  
  <pre><code>import os,time
  from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.action_chains import ActionChains
  
  chromePath = r'E:/Python/WEB/web-infor-transfer/monidenglu/chromedriver.exe'
  wd = webdriver.Chrome() 
  loginUrl = 'http://ueditor.baidu.com/website/examples/completeDemo.html' 
  wd.get(loginUrl) 
  
  
  wd.find_element_by_xpath('//*[@id="edui4"]').click()
  
  
  time.sleep(2)
  
  
  wd.find_element_by_xpath('//*[@id="edui1_iframeholder"]/div/div[2]/div/div/div[2]/div/div[2]').send_keys('hello')
  
     time.sleep(5)
     wd.quit()
  </code></pre>