using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using System.Threading;
using Microsoft.VisualBasic;
using System.Windows.Forms;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
IWebDriver driver = new FirefoxDriver();
driver.Navigate().GoToUrl("http://www.facebook.com");
driver.FindElement(By.Id("email")).SendKeys("emailid");
driver.FindElement(By.Id("pass")).SendKeys("password");
driver.FindElement(By.Id("u_0_l")).Click();
}
}
}