lib/testnow/opera.rb in testnow-0.0.2 vs lib/testnow/opera.rb in testnow-0.0.3
- old
+ new
@@ -1,7 +1,8 @@
module TestNow
+
#Opera browser
def launch_driver_opera
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 180 # seconds
service = Selenium::WebDriver::Chrome::Service.new("/usr/local/bin/operadriver", 48923)
@@ -22,8 +23,7 @@
when /darwin|mac os/
return "/Applications/Opera.app/Contents/MacOS/Opera"
else
return "/usr/bin/opera"
end
-
end
end
\ No newline at end of file