파이썬 Python/Selenium

Python 셀레니움 Selenium 에러 해결

leexx 2023. 8. 13. 23:33
ValueError: Timeout value connect was <object object at >, but it must be an int, float or None.

 

원인

  • Selenium 버전
  • IntelliJ 의 Preference 에서 selenium 을 설치했었는데, 맞지 않는 버전이었나보다.

 

해결

4.9 로 설치하니 해결되었다.

# python 3.x
pip3 install selenium==4.9

# python 2.x
pip install selenium==4.9

 

참고 링크

https://github.com/appium/python-client/issues/863

 

ValueError: Timeout value connect was <object object at 0x7f7515f84420>, but it must be an int, float or None. · Issue #863 ·

The problem I am getting the above summary as error when trying to execute the appium android automation and below is the code: def get_driver(self, *, capabilities: dict[str, Any]): """Concrete im...

github.com