Puppetry
2.0.0
2.0.0
  • Welcome Puppetry
  • Getting Started
  • Project
  • Suite
  • Group
  • Target
  • Test Case
  • Test Step
    • Page Commands
    • Page Assertions
    • Target Commands
    • Target Assertions
  • Managing Assets
  • Snippets
  • Running tests
    • Troubleshooting
  • Exporting Tests for CI
  • Template Expressions
  • Version Control
  • Testing Transactional Emails
    • Example with Restmail.net
    • Example with Mailinator
    • Example with IMAP bridge
    • Example with Google API
  • Testing Forms with Captcha
  • Command API
  • Test Application
Powered by GitBook
On this page
  • page.assertTitle
  • page.assertUrl
  • page.assertHTML
  • page.assertNodeCount
  • page.assertScroll
  • page.assertVar

Was this helpful?

  1. Test Step

Page Assertions

PreviousPage CommandsNextTarget Commands

Last updated 5 years ago

Was this helpful?

page.assertTitle

Asserts that the page title satisfies the given constraint

page.assertUrl

Asserts that the page URL satisfies the given constraint

page.assertHTML

Asserts that the page content (HTML) satisfies the given constraint

page.assertNodeCount

Asserts that number of elements matching a specified selector satisfies the given constraint

page.assertScroll

page.assertVar

Asserts that variable associated with a given name satisfies the given constraint

Asserts that offset satisfies the given constraint

window scroll