Skip to content

Implement browserstack local testing modifiers #17

@lazytesting

Description

@lazytesting

See the list of modifiers for BrowserStack local testing, it's useful to add an option to pass them via WbTstr.Net as well.

-v - Provides verbose logging. Set this flag to debug issues with setting up a connection.
-f - Required if testing a local folder.
-h - Display the help file for setting configuration options.
-version - Displays the current version of the binary.
-force - Kill other running instances of BrowserStack Local.
-only - Restricts Local Testing access to specified local servers and/or folders.
-forcelocal - Route all traffic via local machine.
-onlyAutomate - Setup Local Testing only for Automate. When this flag is set, Local Testing connections set up with a binary cannot be used for Live, Screenshots or Responsive.
-proxyHost HOST - Hostname/IP address of the proxy server. If this flag is not set, the remaining proxy options are ignored.
-proxyPort PORT - Port for the proxy server. Defaults to 3128.
-proxyUser USERNAME - Username for connecting to the proxy server (Basic Auth only).
-proxyPass PASSWORD - Password for connecting to the proxy server (Basic Auth only). If the -proxyUser flag is not set, -proxyPass will be ignored.
-localIdentifier STRING - Specify a unique identifier for each connection, while creating multiple Local Testing connections.

There are 2 solutions:

  1. create implementation for each of the modifiers
  2. make it possible to pass parameters in a more generic way
    By example with something like: .SetArgument("-v" , "true")
    this last option might be useful for the other drivers as well but is a bit less user friendly

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions