Skip to content

natimoreno/simple-automation-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Automation Bot - SAB

Modules

  • Services
  • Web
  • Utils

Services Module

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))

Web Service

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 = Log('sab.log')
log.info('Log info level')

About

Framework of automation test and support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages