使用selenium webdriver打開Safari瀏覽器

其實只要三行代碼就能實現,但是一直遇到‘Could not create a session: You must enable the ‘Allow Remote Automation’ option in Safari’s Develop menu to control Safari via WebDriver.’的報錯,在百度上看了N多結果都沒找到原因,折騰了好久發現原因如下: 1.需要在Sa
相關文章
相關標籤/搜索