From 4a6f0ff740f6a1aede4f4dac56bbbd663aeb6e5d Mon Sep 17 00:00:00 2001 From: amol patil Date: Sat, 18 Jan 2025 19:57:11 +0530 Subject: [PATCH] updated read func which will read the value and click on submit --- airgun/entities/hostgroup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airgun/entities/hostgroup.py b/airgun/entities/hostgroup.py index 7821e5e69..40afb05b7 100644 --- a/airgun/entities/hostgroup.py +++ b/airgun/entities/hostgroup.py @@ -42,7 +42,9 @@ def search(self, value): def read(self, entity_name, widget_names=None): """Read values from host group edit page""" view = self.navigate_to(self, 'Edit', entity_name=entity_name) - return view.read(widget_names=widget_names) + value = view.read(widget_names=widget_names) + view.submit.click() + return value def read_all(self): """Read values from host groups title page"""