Correct create_agent function
This commit is contained in:
parent
487d36936e
commit
ecb1146701
|
@ -202,3 +202,5 @@ def create_agent(driver,agent_name,ip=None,description=None,group=None,os_id=Non
|
|||
|
||||
if os_id !=None:
|
||||
Select(driver.find_element_by_id("id_os")).select_by_visible_text(os_id)
|
||||
|
||||
driver.find_element_by_id("submit-crtbutton").click()
|
||||
|
|
Loading…
Reference in New Issue