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.

Files for django-browserstack-tools, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django-browserstack-tools-0.1.1.tar.gz (3.4 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page