Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

This example is to be used with the Browserless template

Create a reference variable on your service

BROWSER_PLAYWRIGHT_ENDPOINT=${{Browserless.BROWSER_PLAYWRIGHT_ENDPOINT}}

Then use process.env.BROWSER_PLAYWRIGHT_ENDPOINT in code

Before

constbrowser=awaitplaywright.chromium.launch();

After

constbrowser=awaitplaywright.chromium.connect(process.env.BROWSER_PLAYWRIGHT_ENDPOINT);

The rest of your code remains the same with no other changes required.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages