selenium chrome disable logging javascript code example Example: python webdriver disable logs driver = webdriver.Chrome(service_log_path='/dev/null')