What is the meaning of the browserstack.com API?

BrowserStack is a powerful platform for testing websites against most current and modern browsers. So far so good.

BrowserStack also provides API

The API has a working concept representing a specific browser (version) loading a specific URL.

What useful things can I do with such a working instance?

How to integrate such an employee with Selenium tests?

How to integrate such a worker with unittests (Python)?

How to use such a worker, for example, for testing, if any particular website with a video player really downloads and plays video (for example, for cross-browser video testing)?

+6
source share
1 answer

The Current API opens your provided URL in all platform / browser combinations.

So, if you open an HTML page with a lot of JS tests, you need to use a tool like Yeti / testswarm / js-test-driver, which automatically extracts the results from the browser.

Another example of using the BrowserStack API is http://ryanseddon.github.com/bunyip/

Jenkins Integration Example: http://github.com/jquery/testswarm/wiki/Automated-Distributed-Continuous-Integration-for-JavaScript

For local JS testing, you will need to use tools such as localtunnel to get a public URL for your local servers.

+5
source

Source: https://habr.com/ru/post/925274/


All Articles