/**
 * Copyright (c) 2013, Groupon, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 *
 * Neither the name of GROUPON nor the names of its contributors may be
 * used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 * Created with IntelliJ IDEA.
 * User: Dima Kovalenko (@dimacus) && Darko Marinov
 * Date: 5/10/13
 * Time: 4:06 PM
 */
package com.groupon.seleniumgridextras.config.driver;

import com.groupon.seleniumgridextras.OSChecker;

public class ChromeDriver extends  DriverInfo{

  @Override
  public String getExecutablePath() {
    String path = this.getDirectory() + this.getBit() + "_" + this.getVersion();

    if (OSChecker.isWindows()){
      path = path + ".exe";
    }

    return path;
  }
}

@@ -1802,17 +1802,16 @@
 extends 
- 
 DriverIn
@@ -1812,16 +1812,17 @@
 iverInfo
+ 
 %7B%0A%0A  @Ov
@@ -1866,16 +1866,17 @@
 ath() %7B%0A
+%0A
     Stri
@@ -1882,34 +1882,162 @@
 ing 
-path = this.getDirectory()
+slash = %22%5C%5C%22;%0A%0A    if (!OSChecker.isWindows()) %7B%0A      slash = %22/%22;%0A    %7D%0A%0A    String%0A        path =%0A        this.getDirectory() + slash + %22chromedriver_%22
  + t
@@ -2047,11 +2047,15 @@
 .get
-Bit
+Version
 () +
@@ -2069,25 +2069,37 @@
 this.get
-Version()
+Bit()%0A        + %22bit%22
 ;%0A%0A    i
@@ -2123,16 +2123,17 @@
 ndows())
+ 
 %7B%0A      

improve naming convention