Method: Selenium::WebDriver::Firefox::Binary#start_with
- Defined in:
- lib/selenium/webdriver/firefox/binary.rb
permalink #start_with(profile, *args) ⇒ Object
[View source]
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/selenium/webdriver/firefox/binary.rb', line 27 def start_with(profile, *args) ENV['XRE_PROFILE_PATH'] = profile.absolute_path ENV['MOZ_NO_REMOTE'] = '1' # able to launch multiple instances if Platform.linux? && (profile.native_events? || profile.load_no_focus_lib?) modify_link_library_path profile end execute(*args) cope_with_mac_strangeness(args) if Platform.mac? end |