Get all Elements in a Form
问题 I would like to use Selenium to submit a form which contains several elements. For example: <form name="something"> <input type="text" name="a">Username</input> <input type="password" name="b">password</input> <select name="c" id="c"> <option value="1">1</option> <option value="2">2</option> </select> <input type="submit" name="submit">submit</input> </form> If I use find.Element(By.name) to find out the form element, how can I get its children elements a, b, and c? And input the values into