Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 545 Bytes

browser.md

File metadata and controls

18 lines (12 loc) · 545 Bytes

Home - Writing the test suite

Browser utilities

Declare your methods that get values from the browser here. These utilities are based upon TestCafé's ClientFunctions.

Import and create an new instance of the Browser utils.

import { Browser } from '../utils/browser'    
const browserUtil = new Browser()

Use the available methods in your tests.

browserUtil.getUrl()