câu hỏi đơn giản: làm thế nào để hoàn toàn vô hiệu hóa đăng nhập khi sử dụng Selenium từ bindings Python, mã cũ như sau:Làm thế nào để vô hiệu hóa đăng nhập sử dụng Selenium với Python ràng buộc
browser = webdriver.Chrome()
Tôi đã thử những thứ như:
options = webdriver.ChromeOptions();
options.add_argument('--log-level 3')
browser = webdriver.Chrome(chrome_options=options)
hoặc thậm chí:
options = webdriver.ChromeOptions();
options.add_argument('--disable-logging')
browser = webdriver.Chrome(chrome_options=options)
nhưng vẫn tập tin chết tiệt 'chromedriver.log' vẫn xuất hiện trên mỗi lần chạy thử nghiệm mới.