bcpkgfox 0.16.60__tar.gz → 0.16.62__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bcpkgfox might be problematic. Click here for more details.
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/PKG-INFO +1 -1
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/invoke_api.py +10 -1
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/setup.py +1 -1
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/README.md +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/cli.py +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.16.60 → bcpkgfox-0.16.62}/setup.cfg +0 -0
|
@@ -388,10 +388,19 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
|
388
388
|
for _ in range(5):
|
|
389
389
|
time.sleep(1)
|
|
390
390
|
if len(self.driver.window_handles) == num_windows:
|
|
391
|
-
|
|
391
|
+
try:
|
|
392
|
+
tools.find_element_with_wait(By.XPATH, "//button[text()='Acessar']").click()
|
|
393
|
+
except:
|
|
394
|
+
break
|
|
392
395
|
else:
|
|
393
396
|
break
|
|
394
397
|
|
|
398
|
+
# Fecha todas as janelas, exceto a última
|
|
399
|
+
for window in self.driver.window_handles[:-1]:
|
|
400
|
+
self.driver.switch_to.window(window)
|
|
401
|
+
self.driver.close()
|
|
402
|
+
self.driver.switch_to.window(self.driver.window_handles[-1])
|
|
403
|
+
|
|
395
404
|
def extension_check(self):
|
|
396
405
|
|
|
397
406
|
self.driver.get('chrome-extension://lnidijeaekolpfeckelhkomndglcglhh/index.html')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|