-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daksha Download & Read functionality. #59
base: main
Are you sure you want to change the base?
Conversation
*version*: `2.3.0` | ||
|
||
## v2.3.0 | ||
1. Added files download functionality to Daksha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add Download_path value here
# waiting for download to complete | ||
while wait: | ||
files = glob.glob(download_path + "/*") | ||
downloaded_file = max(files, key=os.path.getctime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will break if 2 tests with same uuid (in case of folder execution) runs and download_file is run at the same time
element = WebDriverWait(test_executor.web_driver, 10).until( | ||
EC.visibility_of_element_located((locator, locator_value)) | ||
) | ||
element.click() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If download confirmation page is present thenn this won't work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explore browser settings
Description
Motivation and Context
Types of Changes
Checklist