คำถามติดแท็ก geckodriver

28
ซีลีเนียมโดยใช้ Python - โปรแกรมปฏิบัติการ Geckodriver จำเป็นต้องอยู่ใน PATH
ฉันยังใหม่กับการเขียนโปรแกรมและเริ่มต้นเมื่อPythonประมาณ 2 เดือนที่แล้วและกำลังไปที่Automate the Boring Stuffของ Sweigart ด้วยข้อความPython ฉันใช้ IDLE แล้วติดตั้งโมดูลซีลีเนียมและเบราว์เซอร์ Firefox แล้ว เมื่อใดก็ตามที่ฉันพยายามเรียกใช้ฟังก์ชั่น webdriver ฉันจะได้รับสิ่งนี้: from selenium import webdriver browser = webdriver.Firefox() ข้อยกเว้น: - Exception ignored in: <bound method Service.__del__ of <selenium.webdriver.firefox.service.Service object at 0x00000249C0DA1080>> Traceback (most recent call last): File "C:\Python\Python35\lib\site-packages\selenium\webdriver\common\service.py", line 163, in __del__ self.stop() File "C:\Python\Python35\lib\site-packages\selenium\webdriver\common\service.py", …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.