Update test_workflow.py

This commit is contained in:
Leon 2023-06-03 03:48:29 +02:00 committed by GitHub
parent 6d352fbfa6
commit 38ac0c1529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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