go

Opens a web page in the browser.

Usage in test

To use it in the test, the go('<target_url>') method is used.

tests/sample1.js
/* LIBRARIES
*************/
const { sente } = require('#libraries');
const { go } = sente;


/* TEST FLOW
*************/
test = async () => {
   
   await go('https://www.npmjs.com/package/senteio');
        
}

Last updated