Portál AbcLinuxu, 10. května 2025 18:59
Traceback (most recent call last):
File "word_search_p.py", line 3, in module
import page
ImportError: No module named page
Používám Python 2.7. s selenium 3.141.0
Pouštěný skript:
import unittest from selenium import webdriver import page class PythonOrgSearch(unittest.TestCase): """A sample test class to show how page object works""" def setUp(self): self.driver = webdriver.Firefox() self.driver.get("http://www.python.org") .... ....... ...
Řešení dotazu:
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.