title: Python with selenium 2 and firebug extension
body: <p>I'm not even sure if that is the solution to my problem but here we go.</p>
  
  <p>So I'm trying to find a link on a webpage. The thing is the webpage seems to be executing a javascript in order to obtain the actual html code. Now here is the thing which I'm not sure under which category it would really fall. </p>
  
  <p>I understand that the source code of the browser usually shows you everything after unwrapping the javascript but for this website the source code doesn't show any of the site content. Now the only way to see what is on the site content is by using firebug. </p>
  
  <p>I thought by using firebug with selenium as following then I will be able to work with the xpath or something but either I don't get the point behind using firebug with selenium or I'm using it all wrong.</p>
  
  <p>Can someone help please? I have been spinning hard with this one. BTW it is ASPX link if that makes a difference </p>
  
  <pre><code>from selenium.webdriver.common.keys import Keys
  fp = webdriver.FirefoxProfile()
  fp.add_extension(extension='firebug-1.11.2-fx.xpi')
  fp.set_preference("extensions.firebug.currentVersion", "1.11.2")
  browser = webdriver.Firefox(firefox_profile=fp)
  browser.get("Example.com/start.aspx")
  try: 
      #elem = browser.find_element_by_xpath("/html/body/div[2]/div[2]/table/tbody/tr/td[3]/a")
      elem = browser.find_element_by_link_text("SEARCH")
      elem.send_keys(Keys.RETURN)
  
  except NoSuchElementException:
      assert 0, "can't find XPATH or Link Name"
  </code></pre>
  
  <p>Thanks</p>