New Line
From UBot Studio
(Difference between revisions)
(→Example) |
(→Example) |
||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | $ | + | $New Line is a [[Text Functions|Text Function]]. |
The function returns a line break. | The function returns a line break. | ||
Line 6: | Line 6: | ||
== Example == | == Example == | ||
+ | |||
<pre> | <pre> | ||
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") | navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") | ||
Line 11: | Line 12: | ||
type text(<about me textarea>, "My Item{$new line}My Second Item", "Standard") | type text(<about me textarea>, "My Item{$new line}My Second Item", "Standard") | ||
</pre> | </pre> | ||
+ | |||
Inserting the new line function between the two text items creates a new line for each item. Each item is separated by a new line. | Inserting the new line function between the two text items creates a new line for each item. Each item is separated by a new line. | ||
− | [[File: | + | |
+ | [[File:newline5.jpg]] |
Latest revision as of 21:50, 8 February 2017
$New Line is a Text Function.
The function returns a line break.
It is similar to pressing the enter key on your keyboard to create a new line.
[edit] Example
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") wait(3) type text(<about me textarea>, "My Item{$new line}My Second Item", "Standard")
Inserting the new line function between the two text items creates a new line for each item. Each item is separated by a new line.