Selenium Select element
-
hi
how can i use element for a <select>
<select name="data[Mvpay][account_type]" class="custom-select" id="MvpayAccountType"> <option value="">Select Type</option> <option value="Savings">Savings</option> <option value="Checking">Checking</option> </select>
-
Hey, I didn't add an ElementAction for this yet. Please open an issue on github about it and I will implement it soon.
In the meantime you can always use EXECUTEJS https://stackoverflow.com/questions/10911526/how-do-i-change-an-html-selected-option-using-javascript
-
idk if is it true? i dont know about java script
EXECUTEJS "document.getElementById('MvpayAccountType').value=Checking;"
-
Fixed,thanks