- Services
- Web
- Utils
Rest Client
rc = RestClient('{IP or base uri}')
response = rc.get_request('{endpoint}')
print(str(response.content))
SSH Client
ssh = SSHClient({IP})
result = ssh.run_cmd({command})
print(str(result))
Install geckodriver for Firefox or ChromeDriver to use Selenium with Chrome
Browser options: Chrome, Firefox
wd = WebDriver.create_driver('Chrome').run()
wd.navigate_url('http://www.python.org')
log = Log('sab.log')
log.info('Log info level')