Skip to content

Commit

Permalink
Make Chrome driver aware of geolocation API
Browse files Browse the repository at this point in the history
Include the `HasLocation` module to Chrome driver so that we can use the neat API to set a pre-defined location.
  • Loading branch information
sidonath authored and p0deje committed Oct 11, 2018
1 parent 25d2e54 commit 983b058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rb/lib/selenium/webdriver/chrome/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Driver < WebDriver::Driver
include DriverExtensions::HasNetworkConditions
include DriverExtensions::HasTouchScreen
include DriverExtensions::HasWebStorage
include DriverExtensions::HasLocation
include DriverExtensions::TakesScreenshot
include DriverExtensions::DownloadsFiles

Expand Down

0 comments on commit 983b058

Please sign in to comment.