How to use safari method of Selenium.WebDriver.Remote Package

Best Selenium code snippet using Selenium.WebDriver.Remote.safari


Source:webdriver.rb Github


Full Screen

...17 autoload :IPhone, 'selenium/webdriver/iphone'18 autoload :Opera, 'selenium/webdriver/opera'19 autoload :PhantomJS, 'selenium/webdriver/phantomjs'20 autoload :Remote, 'selenium/webdriver/remote'21 autoload :Safari, 'selenium/webdriver/safari'22 autoload :Support, 'selenium/webdriver/support'23 # @api private24 def self.root25 @root ||= File.expand_path("../..", __FILE__)26 end27 #28 # Create a new Driver instance with the correct bridge for the given browser29 #30 # @param browser [:ie, :internet_explorer, :remote, :chrome, :firefox, :ff, :android, :iphone, :opera, :phantomjs, :safari]31 # the driver type to use32 # @param *rest33 # arguments passed to Bridge.new34 #35 # @return [Driver]36 #37 # @see Selenium::WebDriver::Remote::Bridge38 # @see Selenium::WebDriver::Firefox::Bridge39 # @see Selenium::WebDriver::IE::Bridge40 # @see Selenium::WebDriver::Chrome::Bridge41 # @see Selenium::WebDriver::Android::Bridge42 # @see Selenium::WebDriver::IPhone::Bridge43 # @see Selenium::WebDriver::Opera::Bridge44 # @see Selenium::WebDriver::PhantomJS::Bridge...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:


You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Selenium automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Most used method in

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?