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 6fe4394 commit 98cb037Copy full SHA for 98cb037
raspamb.py
@@ -58,7 +58,7 @@ def localizar_driver():
58
if os.name == 'posix':
59
# Retorna o driver nos sistas operacionais posix(ubuntu, etc...)
60
return webdriver.Chrome(os.getcwd() + '/chromedriver')
61
- elif os.name == 'nt':
+ elif if platform.system() == "Windows":
62
# Retorna o driver no sistema operacional windows
63
return webdriver.Chrome(executable_path=os.getcwd() + '\chromedriver.exe')
64
else:
0 commit comments