Skip Navigation

Scott Spence

QA Wolf v2 Getting Started

1 min read
Hey! Thanks for stopping by! Just a word of warning, this post is over 3 years old, . If there's technical information in here it's more than likely out of date.

I’m a bug writing machine, all developers are! We’re only human after all.

Playwright

Playwright is neat n’ all, it’s the main ‘evergreen’ browsers all on one package, so that’s Chromium, Firefox and WebKit (Safari).

Config

Use different browsers

If you want to use the other browsers that are part of QA Wolf you can specify them in the launch function:

const { context } = await launch({ browser: 'firefox' })
// launch({browser: 'chromium'})
// launch({ browser: 'firefox' })
// launch({ browser: 'webkit' })
const page = await context.newPage()

CI-CD configuration

process.env.URL || 'https://scottspence.com'
launch({ browser: 'firefox' })

launch({ browser: 'webkit' })

launch({ browser: process.env.BROWSER })

https://www.qawolf.com/docs/use-localhost#test-localhost

There's a reactions leaderboard you can check out too.

Copyright © 2017 - 2024 - All rights reserved Scott Spence