Skip to content

Instantly share code, notes, and snippets.

@JoneSabino
Last active August 26, 2021 14:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoneSabino/626945b8c8acd7e91e2a9f3d28500cb8 to your computer and use it in GitHub Desktop.
Save JoneSabino/626945b8c8acd7e91e2a9f3d28500cb8 to your computer and use it in GitHub Desktop.
*** keywords ***
Abrir navegador
[Documentation] Abre o navegador maximizado.
... e carrega uma extensão que desabilita os alertas Js.
${options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${options} add_extension ${ROOT}\\Misc\\disable_alert.crx
Create WebDriver Chrome chrome_options=${options}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment