Hello,
sorry for the unprecise title but I couldn’t describe it more ellaborate.
I’m currently struggling with targeting an option-tag within a select via the select-command.
The following HTML is my starting point:
All <script id="metamorph-167-start" type="text/x-placeholder"></script>
<option id="ember2076" class="ember-view" value="warning">
<script id="metamorph-170-start" type="text/x-placeholder"></script>
Warning
<script id="metamorph-170-end" type="text/x-placeholder"></script>
</option>
<script id="metamorph-167-end" type="text/x-placeholder"></script>
<script id="metamorph-168-end" type="text/x-placeholder"></script>
<script id="metamorph-165-end" type="text/x-placeholder"></script>
Basically everything is wrapped in two metamroph script tags, one for start and one for end.
I tried to target the option with the label “Warning” as follows:
{
"Command": "select",
"Target": "css=.form-group:nth-of-type(6) .col-md-9 .row .col-md-3:nth-of-type(2)",
"Value": "label=Warning"
}
the script part finds the appropriate select field when checking with the button “Find”, but doesn’T select the proper label/value.
Can someone help me out with this?
Can I also target the value-attributes of the option-tags?
Thanks in advance!