Skip to Content
Menu
This question has been flagged
5 Replies
11747 Zobrazenia

For example my browser URL is "http://localhost:8069/web?&debug=#id=2863&view_type=form&model=ir.attachment&action=582&active_id=17"

I tried following request object but didn't get url as I need

request.httprequest.host - localhost:8069 

request.httprequest.host_url - http://localhost:8069/

request.httprequest.remote_addr - 127.0.0.1 

request.httprequest.url - http://localhost:8069/web/dataset/call_button 

request.httprequest.base_url - http://localhost:8069/web/dataset/call_button

Avatar
Zrušiť
Best Answer

Use selenium to navigate then you can access browser URL with :

driver.current_url


Avatar
Zrušiť
Best Answer

hello any update??... someone??

Avatar
Zrušiť
Best Answer

Edited






Avatar
Zrušiť
Best Answer

up !! 

Avatar
Zrušiť
Best Answer

Seems like no one has the answer :/

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
mar 15
4505
0
aug 23
2307
0
jún 20
2601
0
apr 20
3615
0
máj 17
3825