# Window
Examples of referencing window and other properties on window in Cypress, for a full reference of commands, go to docs.cypress.io
# cy.window()
To get the global window object, use the cy.window()
command.
cy.window().should('have.property', 'top')
# cy.document()
To get the document object, use the cy.document()
command.
cy.document().should('have.property', 'charset').and('eq', 'UTF-8')
# cy.title()
To get the title, use the cy.title()
command.
<script>
document.title = 'Window APIs'
</script>
cy.title().should('include', 'Window APIs')