File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 57
57
])
58
58
59
59
settings_conf_path = str (Path (__file__ ).parent .parent .parent / "Framework" / "settings.conf" )
60
- print (f"Settings config path: { settings_conf_path } " )
61
60
62
61
def get_mouse_position ():
63
62
event = CoreGraphics .CGEventCreate (None )
@@ -154,7 +153,6 @@ def get_dump(self):
154
153
self .page_src = ""
155
154
156
155
def render_tree (self ):
157
- print ('rendertree' )
158
156
if not self .page_src :
159
157
return
160
158
@@ -178,7 +176,7 @@ def check_bounding_box(element):
178
176
179
177
def get_attribute_string (element ):
180
178
ignore = ['x' , 'y' , 'width' , 'height' ]
181
- return " " .join ([f'{ k } ="{ v } "' for k , v in element .attrib .items () if k not in ignore ])
179
+ return " " .join ([f'{ k } ="{ v } "' for k , v in element .attrib .items () if k not in ignore and v ])
182
180
183
181
def set_single_zeuz_apiplugin (root ):
184
182
elements = root .findall (".//*[@zeuz='aiplugin']" )
@@ -250,7 +248,6 @@ def send_to_server(self):
250
248
try :
251
249
url = server + "/" if server [- 1 ] != "/" else server
252
250
url += "ai_record_single_action/"
253
- print (url )
254
251
content = json .dumps ({
255
252
'page_src' : self .xml_str ,
256
253
"action_type" : "android" ,
You can’t perform that action at this time.
0 commit comments