"""
Home page for Studio when not logged in.
"""

from bok_choy.page_object import PageObject
from . import BASE_URL


class HowitworksPage(PageObject):
    """
    Home page for Studio when not logged in.
    """

    name = "studio.howitworks"

    def url(self):
        return BASE_URL + "/howitworks"

    def is_browser_on_page(self):
        return self.is_css_present('body.view-howitworks')
