Can't send keys selenium webdriver python

后端 未结 4 790
庸人自扰
庸人自扰 2021-01-21 08:16

Trying to execute simple test

from selenium import webdriver
from selenium.webdriver.common.keys import Keys

driver = webdriver.Firefox()

driver.get(\'http://g         


        
4条回答
  •  终归单人心
    2021-01-21 08:37

    Its with the version of selenium which is causing the issue. I faced the same issue.

    Its with the selenium version 3.3.3 which has the compatibility problem.

    Try: pip uninstall selenium pip install selenium==3.3.1

    Hope it works.

提交回复
热议问题