Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odpovědi
11745 Zobrazení

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šit
Nejlepší odpověď

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

driver.current_url


Avatar
Zrušit
Nejlepší odpověď

hello any update??... someone??

Avatar
Zrušit
Nejlepší odpověď

Edited






Avatar
Zrušit
Nejlepší odpověď

up !! 

Avatar
Zrušit
Nejlepší odpověď

Seems like no one has the answer :/

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
bře 15
4501
0
srp 23
2304
0
čvn 20
2596
0
dub 20
3601
0
kvě 17
3816