MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / add_argument

Method add_argument

py/selenium/webdriver/common/options.py:400–409  ·  view source on GitHub ↗

Adds an argument to the list. Args: argument: Sets the arguments

(self, argument: str)

Source from the content-addressed store, hash-verified

398 return self._arguments
399
400 def add_argument(self, argument: str) -> None:
401 """Adds an argument to the list.
402
403 Args:
404 argument: Sets the arguments
405 """
406 if argument:
407 self._arguments.append(argument)
408 else:
409 raise ValueError("argument can not be null")
410
411 def ignore_local_proxy_environment_variables(self) -> None:
412 """Ignore HTTP_PROXY and HTTPS_PROXY environment variables.

Callers 15

mainFunction · 0.80
get_chrome_milestoneFunction · 0.80
mainFunction · 0.80
generate_bidi.pyFile · 0.80
headlessMethod · 0.80
optionsMethod · 0.80
enable_webextensionsMethod · 0.80
driverFunction · 0.80
chromium_driverMethod · 0.80
chromium_driverMethod · 0.80

Calls 1

appendMethod · 0.45