Skip to content

Instantly share code, notes, and snippets.

@shubham-jaisw
shubham-jaisw / gist:6e72d74d2d8c3a4bd1879300e78c6399
Created February 5, 2024 12:56
BrowserStack Playwright Config Options Sample
platforms:
- os: Windows
osVersion: 10
browserName: chrome
browserVersion: latest
playwrightConfigOptions:
setup:
- name: 'setup1'
testMatch: 'tests/bstack_setup_1.js'
teardown: 'teardown'
@shubham-jaisw
shubham-jaisw / browserstack.yml
Last active February 5, 2024 23:28
BrowserStack SDK provides support for all the capabilities used inside BrowserStack App Automate. Apart from the capabilities mentioned on the SDK config generator, the below capabilities can be used inside the browserstack.yml file with mentioned key-value pair corresponding to them.
# =============================================================================================================================
# Set BrowserStack Credentials
# =============================================================================================================================
userName: YOUR_USERNAME
accessKey: YOUR_ACCESS_KEY
# Set 'framework' of your test suite. Example, 'testng', 'cucumber', 'cucumber-testng'
framework: testng # Required only for java based frameworks