Can't upload file using Selenium with Python. POST POST /session/b90ee4c1-ef51-4cc0-8543-dfd76c7a151d/file did not match a known command

人盡茶涼 提交于 2019-12-02 11:28:05

sorry this was inadvertently broken. It will be fixed in the next release:

557a114

As a workaround, you can set the _is_remote property of the webdriver to False after you create it:

driver = webdriver.Firefox()
driver._is_remote = False
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!