# Path: alvi/tests/resources/base.py
# class Resource(metaclass=abc.ABCMeta):
#     @abc.abstractmethod
#     def destroy(self):
#         raise NotImplementedError()
# 
# Path: alvi/tests/resources/base.py
# class ResourceFactory(metaclass=abc.ABCMeta):
#     @staticmethod
#     @abc.abstractmethod
#     def create(*args, **kwargs):
#         raise NotImplementedError()


import logging
from alvi.tests.resources.base import Resource
from alvi.tests.resources.base import ResourceFactory
from selenium import webdriver

logger = logging.getLogger(__name__)


class Browser(ResourceFactory):
    @staticmethod
    def create():
        return LocalBrowser()



# Path: alvi/tests/resources/base.py
# class Resource(metaclass=abc.ABCMeta):
#     @abc.abstractmethod
#     def destroy(self):
#         raise NotImplementedError()
# 
# Path: alvi/tests/resources/base.py
# class ResourceFactory(metaclass=abc.ABCMeta):
#     @staticmethod
#     @abc.abstractmethod
#     def create(*args, **kwargs):
#         raise NotImplementedError()


# Path: alvi/tests/resources/browser.py
import logging
from alvi.tests.resources.base import Resource
from alvi.tests.resources.base import ResourceFactory
from selenium import webdriver


logger = logging.getLogger(__name__)


class Browser(ResourceFactory):
    @staticmethod
    def create():
        return LocalBrowser()



class LocalBrowser(Resource):