bcpkgfox 0.16.67__tar.gz → 0.16.69__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.
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/PKG-INFO +1 -1
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/invoke_api.py +10 -4
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/setup.py +1 -1
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/README.md +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/cli.py +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.16.67 → bcpkgfox-0.16.69}/setup.cfg +0 -0
|
@@ -404,19 +404,25 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
|
404
404
|
else:
|
|
405
405
|
break
|
|
406
406
|
|
|
407
|
-
self.driver.switch_to.window(self.driver.window_handles[0])
|
|
408
|
-
self.driver.close()
|
|
409
|
-
self.driver.switch_to.window(self.driver.window_handles[-1])
|
|
407
|
+
# self.driver.switch_to.window(self.driver.window_handles[0])
|
|
408
|
+
# self.driver.close()
|
|
409
|
+
# self.driver.switch_to.window(self.driver.window_handles[-1])
|
|
410
410
|
|
|
411
411
|
def extension_check(self):
|
|
412
412
|
|
|
413
413
|
self.driver.get('chrome-extension://lnidijeaekolpfeckelhkomndglcglhh/index.html')
|
|
414
|
+
time.sleep(3)
|
|
414
415
|
|
|
415
416
|
for _ in range(10):
|
|
416
417
|
|
|
417
418
|
# Caso a extensão já esteja instalada
|
|
418
419
|
try:
|
|
419
|
-
tools.find_element_with_wait(By.XPATH, '//input[@placeholder="Digite ou selecione um sistema pra acessar"]', timeout=1)
|
|
420
|
+
tools.find_element_with_wait(By.XPATH, '//input[@placeholder="Digite ou selecione um sistema pra acessar"]', timeout=1)
|
|
421
|
+
return
|
|
422
|
+
except: pass
|
|
423
|
+
|
|
424
|
+
try:
|
|
425
|
+
tools.find_element_with_wait(By.XPATH, '//input[@placeholder="Insira aqui o seu email"]', timeout=1)
|
|
420
426
|
return
|
|
421
427
|
except: pass
|
|
422
428
|
|
|
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
|