autoconnect test + issue with stop
This commit is contained in:
parent
f9d7da64c9
commit
1bcf53b4af
@ -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
3
V6.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user