โดย tatiya » 17/07/2018 11:36 am
คือผมได้ทำการติดตั้ง selenium ทำตามกระทู้นี้ ครับ
https://www.mindphp.com/forums/viewtopic ... 16&t=47610 (ผมใช้ระบบปฎิบัติการ Ubuntu)
- Selection_643.png (12.98 KiB) Viewed 1167 times
- Selection_644.png (10.12 KiB) Viewed 1167 times
- Selection_645.png (15.86 KiB) Viewed 1167 times
แล้วผมลองรันโดย ใช้ โค้ดนี้นะครับ (บน Pycharm)
โค้ด: เลือกทั้งหมด
firefoxpath = " Select Your geckodriver Path "
driver = webdriver.Firefox(executable_path=firefoxpath)
ผลที่ได้คือ
- Selection_642.png (14.38 KiB) Viewed 1167 times
แก้ไขยังครับ
คือผมได้ทำการติดตั้ง selenium ทำตามกระทู้นี้ ครับ [url]https://www.mindphp.com/forums/viewtopic.php?f=16&t=47610[/url] (ผมใช้ระบบปฎิบัติการ Ubuntu)
[attachment=2]Selection_643.png[/attachment]
[attachment=1]Selection_644.png[/attachment]
[attachment=0]Selection_645.png[/attachment]
แล้วผมลองรันโดย ใช้ โค้ดนี้นะครับ (บน Pycharm)
[code]firefoxpath = " Select Your geckodriver Path "
driver = webdriver.Firefox(executable_path=firefoxpath)[/code]
ผลที่ได้คือ
[attachment=3]Selection_642.png[/attachment]
แก้ไขยังครับ