Update test_workflow.py
This commit is contained in:
parent
6d352fbfa6
commit
38ac0c1529
|
@ -95,12 +95,12 @@ def main():
|
||||||
logger.info('current page source:\n%s\n' % driver.page_source)
|
logger.info('current page source:\n%s\n' % driver.page_source)
|
||||||
|
|
||||||
#logger.info('trying to save a screenshot via imgur')
|
#logger.info('trying to save a screenshot via imgur')
|
||||||
|
|
||||||
driver.save_screenshot('/home/runner/work/_temp/nowsecure.png')
|
driver.save_screenshot('/home/runner/work/_temp/nowsecure.png')
|
||||||
|
|
||||||
#driver.get('https://imgur.com/upload')
|
#driver.get('https://imgur.com/upload')
|
||||||
|
|
||||||
driver.find_element('css selector', 'input').send_keys('/home/runner/work/_temp/nowsecure.png')
|
#driver.find_element('css selector', 'input').send_keys('/home/runner/work/_temp/nowsecure.png')
|
||||||
|
|
||||||
#time.sleep(1)
|
#time.sleep(1)
|
||||||
#logger.info('current url %s' % driver.current_url)
|
#logger.info('current url %s' % driver.current_url)
|
||||||
|
|
Loading…
Reference in New Issue