Last active
September 28, 2022 16:02
-
-
Save SarahElson/40c1ca6a03a9dad1aad9cabd5d1ca9cd to your computer and use it in GitHub Desktop.
How To Download File Using Selenium Python?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from tests.conftest import Browser | |
from pages.selenium_playground_page import * | |
# I am using python unittest for asserting cases. | |
class TestDownloadFile(Browser): | |
def test_download(self): | |
page = Selenium_Playground_Page(self.driver) | |
download_file = page.download("How to download files using Selenium & Python?") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment