Functions Glossary

Toolproof provides the following Instructions:

#Filesystem

Instructions:

Retrievals:

#Process

Instructions:

Retrievals:

#Hosting

Instructions:

#Browser

For comprehensive browser testing documentation and examples, see Browser Testing.

Instructions:

Retrievals:

#Browser Console API

When executing JavaScript in browser steps, you have access to a toolproof object with additional utilities:

#Assertions

#Exact assertions

Exact assertions can compare complex objects. For example:

steps:
  - step: In my browser, the result of {js} should be exactly {result}
    js: |-
      return { hello: "world", numbers: [1, 2, 3] };      
    result:
      hello: world
      numbers:
        - 1
        - 2
        - 3

#Contain assertions

#Presence assertions

#Timeouts

Browser actions have a default timeout which can be configured at the command line (see --browser-timeout option). During this period, Toolproof will wait for elements to appear when using selectors or text interactions.

Other operations have a separate timeout that can be configured with the --timeout option.