The web_url function is an action function that loads the Web page (GET request) specified by the URL argument. The web_url function does not require a context.
开始我在想web_url()只能在GET方式下作用吗,POST方式不能作用?web_url()作用在整个页面,整个页面我们怎么设置GET呀。后来看了GET和POST的区别,才知道“浏览器以GET方式从服务器取得数据”。啊,原来是这个意思。
web_url is recorded only when VuGen is in either URL–based recording mode, or in HTML–based recording mode with the A script containing explicit URLs only option checked (see VuGen's Recording Options).
别听它胡说,两个都可以。
另外,选择HTML–based后web_url(... ..."Mode=HTML"),选择URL–based后web_url(... ..."Mode=HTTP")。