问题
I am new to WATIR and I want to automate Safari browser. I am using require 'safariwatir' statement in my ruby file. I am able to open a safari browser window but when I call goto method on my browser object then the result is NIL. It shows FAILED TO OPEN PAGE. Please help me with this. Thanks in advance.
回答1:
safariwatir gem is no longer in active development. The last release was three years ago. You should use watir-webdriver gem to drive Safari.
来源:https://stackoverflow.com/questions/19994700/watir-safari-automation-issue