Skip to content

Commit 1d290cc

Browse files
committed
Refresh only page html
1 parent 6425a55 commit 1d290cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tf2c.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,5 @@ def get_data_between(data, start, end):
141141
input("Enter to requeue")
142142
driver.get("https://tf2center.com/lobbies/")
143143

144-
time.sleep(5)
145-
driver.refresh()
144+
time.sleep(3)
145+
driver.execute_script("window.top.location = window.top.location")

0 commit comments

Comments
 (0)