mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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…
x
Reference in New Issue
Block a user