def add_selenium_arguments(parser):
 parser.add_argument('--selenium-browser', default='auto', help=BROWSER_DESCRIPTION)
 parser.add_argument('--selenium-headless', default=False, action='store_true', help=HEADLESS_DESCRIPTION)
 parser.add_argument('--selenium-remote', default=False, action='store_true', help=REMOTE_DESCRIPTION)
 parser.add_argument('--selenium-remote-host', default='127.0.0.1', help=REMOTE_HOST_DESCRIPTION)
 parser.add_argument('--selenium-remote-port', default='4444', help=REMOTE_PORT_DESCRIPTION)
 parser.add_argument('--galaxy_url', default='http://127.0.0.1:8080/', help=GALAXY_URL_DESCRIPTION)
 return parser

def add_selenium_arguments ( parser ) : parser . add_argument ( '--selenium-browser' , default = 'auto' , help = BROWSER_DESCRIPTION ) parser . add_argument ( '--selenium-headless' , default = False , action = 'store_true' , help = HEADLESS_DESCRIPTION ) parser . add_argument ( '--selenium-remote' , default = False , action = 'store_true' , help = REMOTE_DESCRIPTION ) parser . add_argument ( '--selenium-remote-host' , default = '127.0.0.1' , help = REMOTE_HOST_DESCRIPTION ) parser . add_argument ( '--selenium-remote-port' , default = '4444' , help = REMOTE_PORT_DESCRIPTION ) parser . add_argument ( '--galaxy_url' , default = 'http://127.0.0.1:8080/' , help = GALAXY_URL_DESCRIPTION ) return parser
add common selenium arguments for argparse driver utility .