T
tuyet.ctn
I have a select box that contains two items that are similar:
1) GICS Sector
2) Sector
How do tweak this command to select the second item "Sector" instead of
"GICS Sector"?
irb(main):065:0> ie.frame("customizeRemoteContent").select_list
id,
"availableColumnsSelectBox").select(/Sector/)
This selects "GICS Sector"
I have tried select([Sector]) and other permutations but can't seem to
find the right one. I did go to this site to read up more about
regular expression, but the examples are not very clear. Appreciate
your suggestions!
http://www.ruby-doc.org/docs/ProgrammingRuby/html/intro.html#S5
1) GICS Sector
2) Sector
How do tweak this command to select the second item "Sector" instead of
"GICS Sector"?
irb(main):065:0> ie.frame("customizeRemoteContent").select_list
"availableColumnsSelectBox").select(/Sector/)
This selects "GICS Sector"
I have tried select([Sector]) and other permutations but can't seem to
find the right one. I did go to this site to read up more about
regular expression, but the examples are not very clear. Appreciate
your suggestions!
http://www.ruby-doc.org/docs/ProgrammingRuby/html/intro.html#S5