autoconnect test + issue with stop

This commit is contained in:
piair 2023-09-30 18:29:47 +02:00
parent f9d7da64c9
commit 1bcf53b4af
3 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<table> <table>
<tr> <tr>
<td width="20%" height="90%"><iframe id="iframe" src="{{url_for('static', filename='logs/custom.txt')}}" width="100%" height="100%"></iframe></td> <td width="20%" height="90%"><iframe id="iframe" src="{{url_for('static', filename='logs/custom.txt')}}" width="100%" height="100%"></iframe></td>
<td width="80%"><iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe></td> <td width="80%"><iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&autoconnect=true&view_only" width="100%" height="100%" frameborder="0"></iframe></td>
</tr> </tr>
</table> </table>

3
V6.py
View File

@ -847,7 +847,8 @@ def very_custom_start(json):
print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.") print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.")
for _ in range(600): for _ in range(600):
sleep(1) sleep(1)
if driver.current_url == "https://example.com": print(driver.current_url)
if driver.current_url == "https://www.example.com":
break break
else : else :
login(driver) login(driver)

View File

@ -1 +1 @@
v6.6.38 v6.6.39