mirror of
https://github.com/daijro/camoufox.git
synced 2026-08-24 08:00:07 +00:00
68216153f3
Adds Playwright's async tests to ensure that functionality is not broken.
8 lines
230 B
HTML
8 lines
230 B
HTML
<script>
|
|
window.geolocationPromise = new Promise(resolve => {
|
|
navigator.geolocation.getCurrentPosition(position => {
|
|
resolve({latitude: position.coords.latitude, longitude: position.coords.longitude});
|
|
});
|
|
});
|
|
</script>
|