Skip to content

Commit 6844cf1

Browse files
committed
fix: trying remote selenium
1 parent c30bf4f commit 6844cf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aio_etsy_stats/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def __init__(self, shop: str, default_reset_hour: int = 14, scrape_interval_minu
6262
while not test and ((datetime.now() - start) < timedelta(seconds=20)):
6363
connection = sock.connect_ex((selenium_host, int(selenium_port)))
6464
test = connection == 0
65+
sleep(1)
6566
sock.close()
6667

6768
self.driver = webdriver.Remote(

0 commit comments

Comments
 (0)