GMail
Page Object implementation example by Qxf2 Services: Python, Selenium, GMail. NOTE: This repo has been superseded by: https://github.com/qxf2/qxf2-page-object-model
Install / Use
/learn @qxf2/GMailREADME
This is sample code to support Qxf2 Service's tutorial on Page Object Model with Selenium and Python. URL: http://qxf2.com/blog/page-object-model-selenium-python/
- SETUP
a. Install Python 2.x b. Install Selenium c. Add both to your PATH environment variable d. If you do not have it already, get pip e. 'pip install python-dotenv' f. Update 'login.credentials' with your credentials
- RUN
a. python Search_Inbox_Test.py b. For more options: python Search_Inbox_Test.py -h
- ISSUES?
a. If Python complains about an Import exception, please 'pip install $module_name' b. If you are not setup with the drivers for the web browsers, you will see a helpful error from Selenium telling you where to go and get them c. If login fails, its likely that you forgot to update the login.credentials file d. Exception? 'module object has no attribute load_dotenv'? You have the wrong dotenv module. So first 'pip uninstall dotenv' and then 'pip install python-dotenv' e. Others: Contact mak@qxf2.com
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
