Skip Navigation

Scott Spence

posts tags speaking contact
Loading...

QA Wolf v2 Getting Started

1 min read
Hey! Thanks for stopping by! Just a word of warning, this post is about 2 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

Year to date analytics for this post

Entries This Year
11
Jan 1, 2023 - Apr 1, 2023
Visitors This Year
11
Jan 1, 2023 - Apr 1, 2023
Views This Year
19
Jan 1, 2023 - Apr 1, 2023

Copyright © 2017 - 2023 - All rights reserved Scott Spence