Simulate geolocation with Capybara and Headless Chrome | Karl’s blog
13-Jan-2022 2836
I recently added a “Locate me” button to Film Chase, which uses the Geolocation API (specifically getCurrentPosition) to get the current geolocation of a users device. Clicking the “Locate me” button triggers some Javascript like this.
Simulate geolocation with Capybara and Headless Chrome | Karl’s blog #ruby #rubydeveloper #rubyonrails #Simulate #geolocation #Capybara #Headless #Chrome #Karl’s #blog https://rubyonrails.ba/link/simulate-geolocation-with-capybara-and-headless-chrome-karl-s-blog