<reponame>zdrever/selenium-behave-template<gh_stars>0
import os
import json

settings = None


class Settings(object):
    """Simple singleton class for managing and accessing settings"""
    def __init__(self):
        with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'testsettings.json')) as f:
            settings = json.load(f)
            self.url = settings['url']
            self.browser = settings['browser']
            self.driver_timeout = int(settings['driver_timeout'])


settings = Settings()

import os
import json

settings = None


class Settings(object):
    """Simple singleton class for managing and accessing settings"""
    def __init__(self):
        with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'testsettings.json')) as f:
            settings = json.load(f)
            self.url = settings['url']
            self.browser = settings['browser']
            self.driver_timeout = int(settings['driver_timeout'])


settings = Settings()
Simple singleton class for managing and accessing settings