Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created August 16, 2019 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seleniumgists/4e25495378ae927b7d820b3db0f8b282 to your computer and use it in GitHub Desktop.
Save seleniumgists/4e25495378ae927b7d820b3db0f8b282 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
pytest_selenium/pytest_selenium.py
group._addoption(
"--port",
type=int,
metavar="num",
help="port that the selenium server is listening on, "
"which will default to the cloud provider default "
"or localhost.",
)
seleniumbase/plugins/pytest_plugin.py
parser.addoption('--port', action='store',
dest='port',
default='4444',
help="""Designates the Selenium Grid port to use.
Default: 4444.""")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment