Metadata-Version: 2.1
Name: universal_utils
Version: 0.0.1
Summary: python utils
Home-page: https://github.com/Tsotsi/python_utils
Author: tsotsi
Author-email: tsotsi@tsotsi.cn
License: UNKNOWN
Description: # python-utils
        
        python utils
        
        
        ### ScreenShot
        
        ```python3
        browser = get_browser('https://tushare.pro/document/2?doc_id=33')
        
        # 移除悬浮
        browser.execute_script("""
        var toTop = document.querySelector('.scroll-to-top');
        if(toTop){
        toTop.remove();
        }
        """)
        
        # 隐藏滚动条
        browser.execute_script("""
        var style = document.createElement('style');
        style.innerHTML='body::-webkit-scrollbar{display:none;}';
        document.querySelector('head').append(style);
        """)
        screen_shot = ScreenShot()
        screen_shot.save_full_page_screen_shot('ts.jpg', browser=browser)
        browser.quit()
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
