Metadata-Version: 2.1
Name: pwdriver
Version: 0.15
Summary: It will download a WebDriver, and then set basic configuration automatically.
Home-page: https://github.com/jinmoo21/pwdriver
Author: Jinmoo Han
Author-email: jinmoo21@naver.com
License: MIT
Description: PWDriver (PyWebDriver)
        ======================
        
        ## Motivation
        
        To simplify automation settings of each different version, and browser.
        
        ##### Support:
        
        - ChromeDriver
        
        - GeckoDriver
        
        - EdgeDriver (Chromium)
        
        - IEDriver
        
        ##### Before:
        
        - You have to check your local browser's version
        
        - You have to download driver on each website
        
        - You have to set path to this driver like this:
        
        ```python
        from selenium import webdriver
        
        webdriver.Chrome('YOUR_CHROMEDRIVER_PATH')
        ```
        
        ## Usage
        
        ### 1. Install:
        
        ```bash
        pip install pwdriver
        ```
        
        ### 2. Make 'config.ini' file and locate in your project directory.
        
        config.ini 's contents be like this.
        
        ```ini
        [automation]
        ;automation.browser: chrome, gecko, edge, ie, safari
        automation.browser=chrome
        ;automation.local: true, false
        automation.local=true
        automation.url=http://localhost:4444/wd/hub
        ```
        
        ### 3. Import WebDriverFactory.
        
        Now, we could launch webdriver.
        
        'automation.browser' you set will be created.   
        
        ```python
        from pwdriver.core import WebDriverFactory
        
        driver = WebDriverFactory().launch()
        ```
        
        ### Different Usage(using selenium)
        
        Use with Chrome:
        
        ```python
        from selenium import webdriver
        from pwdriver.core import WebDriverFactory
        
        WebDriverFactory().setup_chromedriver()
        driver = webdriver.Chrome()
        ```
        
        Use with FireFox:
        
        ```python
        from selenium import webdriver
        from pwdriver.core import WebDriverFactory
        
        WebDriverFactory().setup_geckodriver()
        driver = webdriver.firefox()
        ```
        
        Use with Edge
        
        ```python
        
        from msedge.selenium_tools import Edge, EdgeOptions
        from pwdriver.core import WebDriverFactory
        
        WebDriverFactory().setup_edgedriver()
        options = EdgeOptions()
        options.use_chromium = True
        driver = Edge(options=options)
        ```
        
        
        Use with IE
        
        ```python
        from selenium import webdriver
        from pwdriver.core import WebDriverFactory
        
        WebDriverFactory().setup_iedriver()
        driver = webdriver.Ie()
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
