Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
11325 มุมมอง

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 :/

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มี.ค. 15
4227
0
ส.ค. 23
1912
0
มิ.ย. 20
2334
0
เม.ย. 20
3330
0
พ.ค. 17
3501