We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a223f5f commit e5c04ccCopy full SHA for e5c04cc
leetcode_generate.py
@@ -209,6 +209,7 @@ def login(self):
209
driver.find_element_by_xpath('//button[@type="submit"]').click()
210
time.sleep(5)
211
webdriver_cookies = driver.get_cookies()
212
+ driver.close()
213
if 'LEETCODE_SESSION' not in [
214
cookie['name'] for cookie in webdriver_cookies
215
]:
0 commit comments