跳至內容
選單
此問題已被標幟
5 回覆
11725 瀏覽次數

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
4488
0
8月 23
2295
0
6月 20
2587
0
4月 20
3592
0
5月 17
3789