-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
An assembler that injects the browser instance of the page like files()() except without a higher-order sync function to override defaults injected.
ie: SSO usually opens an additional page to complete sign-on and to find utilize that page, you need to go through the browser
await chain(
browser(
singleSignOn('facebook', '[email protected]', 'password123')
)
)(page)
// ...
const singleSignOn = (provider, ..., browser?) // therefore can pass browser in via higher order param or via inject but maybe throw error if browser not provided by any method: inject (higher-order or not), or via higher-order param