Set Cookie
From UBot Studio
(Difference between revisions)
(Created page with " This command is a Cookie Control command in the UBot Extended Library found in the bot bank. This command will remove the specified cookie. '''Name:''' Refers to the nam...") |
|||
(2 intermediate revisions by one user not shown) | |||
Line 11: | Line 11: | ||
<pre> | <pre> | ||
− | set cookie(" | + | navigate("http://www.html-kit.com/tools/cookietester","Wait") |
+ | set cookie("My_cookie",1234) | ||
+ | click(<value="Refresh">,"Left Click","No") | ||
+ | |||
</pre> | </pre> | ||
− | Once the cookie is set, the refresh button is clicked on the webpage. The webpage indicates that our cookie | + | Once the cookie is set, the refresh button is clicked on the webpage. The webpage indicates that our cookie My_cookie is set and the value is 1234 |
− | [[File: | + | [[File:setcookie0.jpg]] |
Latest revision as of 22:18, 5 July 2016
This command is a Cookie Control command in the UBot Extended Library found in the bot bank. This command will remove the specified cookie.
Name: Refers to the name of the cookie being removed.
Value: Refers to the value the cookie is being set to.
[edit] Example
navigate("http://www.html-kit.com/tools/cookietester","Wait") set cookie("My_cookie",1234) click(<value="Refresh">,"Left Click","No")
Once the cookie is set, the refresh button is clicked on the webpage. The webpage indicates that our cookie My_cookie is set and the value is 1234