跳至内容
菜单
此问题已终结
5 回复
11329 查看

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

形象
丢弃
最佳答案

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

driver.current_url


形象
丢弃
最佳答案

hello any update??... someone??

形象
丢弃
最佳答案

Edited






形象
丢弃
最佳答案

up !! 

形象
丢弃
最佳答案

Seems like no one has the answer :/

形象
丢弃
相关帖文 回复 查看 活动
3
3月 15
4228
0
8月 23
1922
0
6月 20
2342
0
4月 20
3337
0
5月 17
3517