Fix incorrect documentation for Chrome emulation
@@ -129,11 +129,11 @@ module Selenium
#
# @example Start Chrome in mobile emulation mode by device name
# options = Selenium::WebDriver::Chrome::Options.new
- # options.add_emulated_device(device_name: 'iPhone 6')
+ # options.add_emulation(device_name: 'iPhone 6')
#
# @example Start Chrome in mobile emulation mode by device metrics
# options = Selenium::WebDriver::Chrome::Options.new
- # options.add_emulated_device(device_metrics: {width: 400, height: 800, pixelRatio: 1, touch: true})
+ # options.add_emulation(device_metrics: {width: 400, height: 800, pixelRatio: 1, touch: true})
#
# @param [String] device_name Name of the device or a hash containing width, height, pixelRatio, touch
# @param [Hash] device_metrics Hash containing width, height, pixelRatio, touch
