Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/seleniumbase/SeleniumBase
/ get_current_url
Method
get_current_url
seleniumbase/core/sb_cdp.py:1433–1436 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1431
return
self.get_title()
1432
1433
def
get_current_url(self):
1434
return
self.loop.run_until_complete(
1435
self.page.evaluate(
"window.location.href"
)
1436
)
1437
1438
def
get_origin(self):
1439
return
self.loop.run_until_complete(
Callers
15
activate_cdp_mode
Method · 0.95
goto_if_not_url
Method · 0.95
click
Method · 0.95
assert_url
Method · 0.95
assert_url_contains
Method · 0.95
save_page_source
Method · 0.95
_uc_gui_click_captcha
Function · 0.45
get_last_page
Function · 0.45
huidige_url_ophalen
Method · 0.45
obtenir_url_actuelle
Method · 0.45
ottenere_url_corrente
Method · 0.45
obtener_url_actual
Method · 0.45
Calls
1
evaluate
Method · 0.45
Tested by
5
test_multiple_drivers
Method · 0.36
test_scrape_bing
Method · 0.36
test_3_add_text_overlay_to_page_section
Method · 0.36
test_4_add_text_overlay_to_full_page
Method · 0.36
test_presentation_4
Method · 0.36