I am using a selenium headless Chrome on python to scrape a website. This website uses synchronous XMLHttpRequest, which is probably worse than asynchronous, but I don't really care (not my website). Each time my selenium webdriver visits this website, the Chrome deprecation message will be printed in my console:
"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/."
How to stop this message from popping up?