Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
5 Ответы
11307 Представления

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
4225
0
авг. 23
1907
0
июн. 20
2330
0
апр. 20
3325
0
мая 17
3490