py/selenium/py/selenium/webdriver/remote/bazel build //py/...See py/TESTING.md
logger = logging.getLogger(__name__) logger.warning("actionable: something needs attention") logger.info("useful: driver started successfully") logger.debug("diagnostic: request payload for debugging")
warnings.warn( "old_method is deprecated, use new_method instead", DeprecationWarning, stacklevel=2 )
Type hints are used throughout; add type annotations to new code
Use Google-style docstrings:
def method(param: str) -> bool: """Brief description. Args: param: Description of param. Returns: Description of return value. Raises: ValueError: When condition. """