Change Attribute

From UBot Studio
Revision as of 16:43, 7 December 2012 by LillyT (Talk | contribs)

Jump to: navigation, search

This command is part of the Browser Command. This command allows the changing of any attribute on an html element. This comes in handy when you need to change the value of a field or a drop down menu.

Example

navigate("http://ubotstudio.com/playground/simple-form", "Wait")
wait(5)
change attribute(<username field>, "value", "myusername")

File:Changeattribute.png

Running the script will change the value of the field to the value "myusername". Changing the value of this field is the same as filling the field. Whatever is inside the field determines the field's value.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox