drashland / sinco

Browser Automation and Testing Tool for Deno, written in full TypeScript
https://drash.land/sinco
MIT License
57 stars 3 forks source link

feat: support for https/http protocol choice for browser address #138

Open SnoCold opened 2 years ago

SnoCold commented 2 years ago

Summary

What:

A minor change to allow users to choose from http or https protocols

Why:

People trying to test webpages while their browser is in a secure network, might want to use https instead of the default http.

p.s. not sure if any other protocols exist, that can be used with the browser.

Acceptance Criteria

Below is a list of tasks that must be completed before this issue can be closed.

Example Pseudo Code (for implementation)

const { browser, page } = await buildFor( "chrome", { protocol: "https" });