spec/implementation.rb in watir-webdriver-0.8.0 vs spec/implementation.rb in watir-webdriver-0.9.0
- old
+ new
@@ -70,10 +70,11 @@
matching_guards = [
:webdriver, # guard only applies to webdriver
matching_browser, # guard only applies to this browser
matching_browser_with_version, # guard only applies to this browser with specific version
[:webdriver, matching_browser], # guard only applies to this browser on webdriver
- [:webdriver, matching_browser_with_version] # guard only applies to this browser with specific version on webdriver
+ [:webdriver, matching_browser_with_version], # guard only applies to this browser with specific version on webdriver
+ [matching_browser, Selenium::WebDriver::Platform.os] # guard only applies to this browser with this OS
]
if native_events?
# guard only applies to this browser on webdriver with native events enabled
matching_guards << [:webdriver, matching_browser, :native_events]