myubo 2 Posted September 10, 2019 Report Share Posted September 10, 2019 (edited) ⛔ Can't seem to figure out how to change the dropdown menu on the code. Can anyone have a look? <label class="json-form-item select auto_fuel_type req variant-select"> <div class="label-wrapper"> <span class="label">fuel</span> </div> <select tabindex="1" name="auto_fuel_type" class="json-form-input no-js auto_fuel_type"> <option value="">-</option> <option value="1">gas</option> <option value="2">diesel</option> <option value="3">hybrid</option> <option value="4">electric</option> </select> Edited September 10, 2019 by myubo Quote Link to post Share on other sites
hare ram 23 Posted September 10, 2019 Report Share Posted September 10, 2019 http://network.ubotstudio.com/forum/index.php/topic/16180-select-multiple-items-in-a-dropdown/ Above Links may help you to set dropdown item in ui Quote Link to post Share on other sites
myubo 2 Posted September 10, 2019 Author Report Share Posted September 10, 2019 I ended up using clicks to make i work: click(<id="ui-id-4-button">,"Left Click","No") wait(1) mouse over(<id="ui-id-10">,"No") wait(1) click(<id="ui-id-10">,"Left Click","No") Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 10, 2019 Report Share Posted September 10, 2019 You can use the change dropdown command: http://wiki.ubotstudio.com/wiki/Change_Dropdown load html("<label class=\"json-form-item select auto_fuel_type req variant-select\"> <div class=\"label-wrapper\"> <span class=\"label\">fuel</span> </div> <select tabindex=\"1\" name=\"auto_fuel_type\" class=\"json-form-input no-js auto_fuel_type\"> <option value=\"\">-</option> <option value=\"1\">gas</option> <option value=\"2\">diesel</option> <option value=\"3\">hybrid</option> <option value=\"4\">electric</option> </select>") change dropdown(<name="auto_fuel_type">,"diesel") Quote Link to post Share on other sites
myubo 2 Posted September 11, 2019 Author Report Share Posted September 11, 2019 I tried that but couldn't get it to work on craigslist, clicks work Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.