experimenting with logs

This commit is contained in:
Marcello Stanisci 2017-11-02 11:22:27 +01:00
parent b4525c567a
commit c3595fe47c
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

2
selenium/chrome_responsive.py Normal file → Executable file
View File

@ -41,5 +41,7 @@ parser.add_argument('--remote', help="Points webdriver.Remote at URI", metavar="
args = parser.parse_args()
ret = client_setup(args)
logger.info("Chromium is responsive")
for entry in ret.get_log("browser"):
print(entry.get("message"))
time.sleep(3)
ret.close()