Question: I have a print table code fiddle [LINK](http://jsfiddle.net/9DbEP/1060/)

Check my code:

```
function printData()
{
   var divToPrint=document.getElementById("printTable");
   console.log(divToPrint.outerHTML);
   newWin= window.open("");
   newWin.document.write(divToPrint.outerHTML);
   newWin.print();
   newWin.close();
}

```

I have added `background-color` to that as red as you can see in fiddle. I tried to print it. But in print the color not coming and all other things works fine. I have researched about `@media print` and all but unable to crack it. please guide me and an updated fiddle will be awesome you can give me. Cheers!

Answer: 
Please find chrome driver here

<https://sites.google.com/a/chromium.org/chromedriver/downloads>
Use this Selenium site you have drivers for all browsers even for phone's.. Check it 

<http://www.seleniumhq.org/download/> - You may find there chrome webdriver 2.22Version