Here is a simple solution to resolve the Element is not clickable at point issue with ChromeDriver in Webdriver.
Here is the function I have written to detect the browser and then pause for .5 sec before executing the next command.
Just put a Thread.Sleep after initializing the ChromeDriver.
driver = new ChromeDriver();
Thread.Sleep(5000);
Here is the code that you can use to verify the font size in Selenium Webdriver using Javascript
IJavaScriptExecutor js = driver as IJavaScriptExecutor;
string fontsize = (string)js.ExecuteScript("return " + "window.jQuery('.gad-mainlink').css('font-size')");
Here is the code that you can use to Upload file or image using Selenium Webdriver in C#
IJavaScriptExecutor js = driver as IJavaScriptExecutor;
js.ExecuteScript("document.getElementsByName('userfile')[0].style.display='block';");
IWebElement element = driver.FindElement(By.Name("userfile"));
element.SendKeys("image file path");
Here is the code for you to enable a hidden element using Javascript and Selenium Webdriver:
IJavaScriptExecutor js = driver as IJavaScriptExecutor;
js.ExecuteScript("document.getElementsByName('userfile')[0].style.display='block';");
Here is the command line to run Firefox versions on selenium grid 2
java -jar selenium-server-standalone-2.20.0.jar -role rc -hub http://127.0.0.1:4444/grid/register -browser “browserName=firefox,platform=WINDOWS,version=5″ -port 5559 (RC).