Skip to content

Repository files navigation

# Set BrowserStack credentials
export BROWSERSTACK_ACCESS_KEY=$BROWSERSTACK_ACCESS_KEY
export BROWSERSTACK_USERNAME=$BROWSERSTACK_USERNAME

# install required dependencies
npm i
# Run test playwright.spec.ts locally
npm test

# Run on BrowserStack (iPad Pro via browserstack-node-sdk)
npm run test:bs

# now the error occurs
#  1) [-iPad Pro 12.9 2022:17-browserstack-mobile] › playwright.spec.ts:8:5 › should have correct Google page title 2 
#
#    Error: browser.newContext: Failed to execute newContext. browserstack_error: Only one browser context is allowed
#    Call log:
#    Failed to execute newContext. browserstack_error: Only one browser context is allowed

About

Simple playwright-browserstack example for reprducing bug

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages