Package com.vaadin.flow.component.geolocation
Browserless test support for the Flow Geolocation API.
Application unit tests obtain a GeolocationSimulator via current() (or forUI(ui) for multi-user scenarios) and describe the user's permission and the sensor's reading; the application observes that state through the Geolocation facade without any real browser.
See: Description
-
Class Summary Class Description BrowserlessGeolocationClientFactory GeolocationClientFactory that produces an in-memory test client and publishes a GeolocationSimulator on the UI for tests to drive. GeolocationSimulator Browserless test driver for the Geolocation facade. -
Interface Summary Interface Description GeolocationRequest A pending one-shot Geolocation.get(...)request observed by the test controller.GeolocationTrackerSession View into a tracker session managed by the simulator.