把迴圈改成這樣 for i in range(10000): actions = ActionChains(driver) actions.click(blow).perform() count = int (blow_count.text.replace("您目前擁有","").replace("技術點",""))
試試這個? from selenium.webdriver.common.by import By 語法是(By.NAME,"username")
@thumbnews3 жыл бұрын
ImportError: cannot import name 'webdriver' from partially initialized module 'selenium' (most likely due to a circular import) (f:\Python\python\selenium.py)报错啊