selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="react-root"]/section/main/div/article/div/div[1]/div/form/div[4]/button"}
(Session info: chrome=85.0.4183.83)
Thank you for your request. I have changed the code. The problem was that Instagram updated their website and the code didn't found the button anymore. Please open a new issue if needed.
~Radu
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="react-root"]/section/main/div/article/div/div[1]/div/form/div[4]/button"} (Session info: chrome=85.0.4183.83)