Skip to main content

Unofficial Browserstack integration for Django

Project description

https://badge.fury.io/py/django-browserstack-tools.png https://pypip.in/d/django-browserstack-tools/badge.png

Unofficial Browserstack integration for Django

Documentation

The full documentation is at https://django-browserstack-tools.readthedocs.org.

Quickstart

Install django-browserstack-tools:

pip install django-browserstack-tools

Then use it in a project:

from browserstack_tools.testcases import BrowserStackLiveServerTestCase

class SeleniumTest(BrowserStackLiveServerTestCase):

    desired_capabilities = {'browser': 'Chrome',
                            'browser_version': '33.0',
                            'os': 'Windows',
                            'os_version': '8.1',
                            'resolution': '1680x1050'}

    def test_login(self):
        self.selenium.get('%s%s' % (self.live_server_url, reverse('home')))
        self.assertIn("Hello", self.selenium.title)

Features

  • Create Selenium Test using BrowserStack in Django

History

0.1.0 (2014-04-21)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-browserstack-tools-0.1.1.tar.gz (3.4 MB view details)

Uploaded Source

File details

Details for the file django-browserstack-tools-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-browserstack-tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 554d821dddc70f0fbb5ae133937d21c8ccc90ce3cc9e0171cd4956166902b3df
MD5 62b2e354d0e1d62c39fc0ee6bda3ddfa
BLAKE2b-256 cb2441897a9cf0a09ceb312b639e0c84f527b710c402c4dc30e731b696eeec66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page