bcpkgfox 0.16.60__tar.gz → 0.16.61__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.60
3
+ Version: 0.16.61
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -392,6 +392,12 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
392
392
  else:
393
393
  break
394
394
 
395
+ # Fecha todas as janelas, exceto a última
396
+ for window in self.driver.window_handles[:-1]:
397
+ self.driver.switch_to.window(window)
398
+ self.driver.close()
399
+ self.driver.switch_to.window(self.driver.window_handles[-1])
400
+
395
401
  def extension_check(self):
396
402
 
397
403
  self.driver.get('chrome-extension://lnidijeaekolpfeckelhkomndglcglhh/index.html')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.60
3
+ Version: 0.16.61
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="bcpkgfox",
5
- version="0.16.60",
5
+ version="0.16.61",
6
6
  author="Guilherme Neri",
7
7
  author_email="guilherme.neri@bcfox.com.br",
8
8
  description="Biblioteca BCFOX",
File without changes
File without changes
File without changes
File without changes