I cant get automate creating account with group_option selected using selenium with python. I tried several solutions but still it doesn't work. the website is form .php please see codes i used. Im on Linux not Windows.
test-1
driver = webdriver.PhantomJS()
select = Select(driver.find_element_by_name('group_option[]'))
select.select_by_value("Test")
driver.find_element_by_name("submit").click()
website.php
<select onchange="javascript:setStringText(this.id,'group')" id="usergroup" name="group_option[]" class="form" tabindex="105">
<option value="">Select Groups</option>
<option value=""></option>
<option value="Test"> Test </option>
<option value="Test1"> Test1 </option>
</select>