def add_chromedriver_to_path():
    """
    Appends the directory of the chromedriver binary file to PATH.
    """
    chromedriver_dir = os.path.abspath(os.path.dirname(__file__))
    if 'PATH' not in os.environ:
        os.environ['PATH'] = chromedriver_dir
    elif chromedriver_dir not in os.environ['PATH']:
        os.environ['PATH'] += utils.get_variable_separator()+chromedriver_dir
def add_chromedriver_to_path ( ) : chromedriver_dir = os . path . abspath ( os . path . dirname ( __file__ ) ) if 'PATH' not in os . environ : os . environ [ 'PATH' ] = chromedriver_dir elif chromedriver_dir not in os . environ [ 'PATH' ] : os . environ [ 'PATH' ] += utils . get_variable_separator ( ) + chromedriver_dir
Appends the directory of the chromedriver binary file to PATH.