We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd0f39 commit da0ba7eCopy full SHA for da0ba7e
src/test/robotframework/selenium.utils.robot
@@ -69,8 +69,8 @@ Wait Until Element Value Is
69
70
Select Random Option From List
71
[Documentation] Choose a random option from a select element
72
- [Arguments] ${locator}
73
- ${options}= Get List Items ${locator}
74
- ${size}= Get Length ${options}
75
- ${randomIndex}= Evaluate random.randint(0, ${size}-1) modules=random
76
- Select From List By Index ${locator} ${randomIndex}
+ [Arguments] ${locator}
+ ${options}= Get List Items ${locator}
+ ${size}= Get Length ${options}
+ ${randomIndex}= Evaluate random.randint(0, ${size}-1) modules=random
+ Select From List By Index ${locator} ${randomIndex}
0 commit comments