# Can Browser library be used with BrowserStack?

**URL:** <https://forum.robotframework.org/t/can-browser-library-be-used-with-browserstack/3102>\
**Category:** Browser\
**Created:** [17 January 2022 16:53 UTC](https://forum.robotframework.org/t/can-browser-library-be-used-with-browserstack/3102 "2022-01-17T16:53:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentijnpeters](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/valentijnpeters/32/828_2.png) [@valentijnpeters](https://forum.robotframework.org/u/valentijnpeters)\
**Post date:** [17 January 2022 16:53 UTC](https://forum.robotframework.org/t/can-browser-library-be-used-with-browserstack/3102/1 "2022-01-17T16:53:21Z")

</div>

Is it possible to use BrowserStack when using Browser library.

There is an article on how to do it with SeleniumLibrary ( [https://medium.com/detesters/integrating-robot-framework-with-browserstock-bddf5b0e0c14](https://medium.com/detesters/integrating-robot-framework-with-browserstock-bddf5b0e0c14) )

and also an article on how to do it with Playwright directly.

but can it be done with Browser library, and if yes, how is that done?

---

<div class="post-metadata">

**Author:** ![eldaduzman](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/eldaduzman/32/1190_2.png) [@eldaduzman](https://forum.robotframework.org/u/eldaduzman)\
**Post date:** [26 January 2022 19:46 UTC](https://forum.robotframework.org/t/can-browser-library-be-used-with-browserstack/3102/2 "2022-01-26T19:46:35Z")

</div>

> **[Run your Playwright tests on BrowserStack Automate | BrowserStack Docs](https://www.browserstack.com/docs/automate/playwright)**
>
> A quickstart guide to running your Playwright tests across 100+ desktop browsers on BrowserStack.

According to this article can do that by installing the node dependencies, setting the browser capabilities with your browserstack credentials and then you can run the tests.

Maybe you could do that by extending the browser library with a java script module?

[https://marketsquare.github.io/robotframework-browser/Browser.html#Extending%20Browser%20library%20with%20a%20JavaScript%20module](https://marketsquare.github.io/robotframework-browser/Browser.html#Extending%20Browser%20library%20with%20a%20JavaScript%20module)
