We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aedbe14 commit 614a7abCopy full SHA for 614a7ab
examples/cdp_mode/raw_geolocation_sb.py
@@ -0,0 +1,9 @@
1
+"""Geolocation example with CDP Mode"""
2
+from seleniumbase import SB
3
+
4
+with SB(uc=True, test=True) as sb:
5
+ url = "https://www.openstreetmap.org/"
6
+ sb.activate_cdp_mode(url, geoloc=(31.774390, 35.222450))
7
+ sb.click("span.geolocate")
8
+ sb.assert_url_contains("31.774390/35.222450")
9
+ sb.sleep(5)
0 commit comments