BrowserStack supports all the frameworks which run Selenium WebDriver tests.
To run Selenium WebDriver tests on BrowserStack Automate, you only need BrowserStack hub URL (https://hub-cloud.browserstack.com/wd/hub) and set few capabilities such as username, accesskey, OS and browser version.
We provide documentation for a number of popular test frameworks such as TestNG, JUnit, Protractor, Nightwatch and more.
Check out this section to see code samples for different languages and frameworks.