title: How to get xpath in a site(like IRCTC) if right click is disabled and is there any way to handle captcha using webdriver
body: <p>I just wrote some code to open <code>IRCTC</code> website. After this I would like to login but how can I get <code>xpath</code>? Also, is there any possibility to automate captcha?</p>
  
  <pre><code>public void login() {
    driver = new FirefoxDriver();
    driver.manage().window().maximize();
    driver.get("https://www.irctc.co.in/eticketing/loginHome.jsf");
  }
  </code></pre>