Skip to content

AdityaHirapara/browserstack-local-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserstack-local-python

Setup

pip install browserstack-local

API

Constructor

  • browserstack.Local(): creates an instance of Local

Methods

  • start(**options): starts Local instance with options. The options available are detailed below.
  • stop(): stops the Local instance
  • isRunning(): checks if Local instance is running

Options

  • key: BrowserStack Access Key
  • v: Provides verbose logging
  • f: If you want to test local folder rather internal server, provide path to folder as value of this option
  • force: Kill other running Browserstack Local
  • only: Restricts Local Testing access to specified local servers and/or folders
  • forcelocal: Route all traffic via local machine
  • onlyAutomate: Disable Live Testing and Screenshots, just test Automate
  • proxyHost: Hostname/IP of proxy, remaining proxy options are ignored if this option is absent
  • proxyPort: Port for the proxy, defaults to 3128 when -proxyHost is used
  • proxyUser: Username for connecting to proxy (Basic Auth Only)
  • proxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified
  • localIdentifier: If doing simultaneous multiple local testing connections, set this uniquely for different processes
  • hosts: List of hosts and ports where Local must be enabled for eg. localhost,3000,1,localhost,3001,0
  • logfile: Path to file where Local logs be saved to
  • binarypath: Optional path to Local binary

Tests

To run the test suite run, python -m unittest discover.

About

Python bindings for BrowserStack Local

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy