@@ -45,7 +45,7 @@ cd browser-use/examples/apps/msg-use
45
45
46
46
First - time setup requires QR code scanning :
47
47
` ` ` bash
48
- python whatsapp_login .py
48
+ python login .py
49
49
` ` `
50
50
- Scan QR code when browser opens
51
51
- Session will be saved for future use
@@ -62,22 +62,22 @@ python whatsapp_login.py
62
62
63
63
2. ** Test mode ** - See what will be sent :
64
64
` ` ` bash
65
- python whatsapp_scheduler .py --test
65
+ python scheduler .py --test
66
66
` ` `
67
67
68
68
3. ** Run scheduler ** :
69
69
` ` ` bash
70
- python whatsapp_scheduler .py
70
+ python scheduler .py
71
71
72
72
# Debug Mode - See the browser in action
73
- python whatsapp_scheduler .py --debug
73
+ python scheduler .py --debug
74
74
` ` `
75
75
76
76
## Programmatic Usage
77
77
78
78
` ` ` python
79
79
import asyncio
80
- from whatsapp_scheduler import schedule_messages
80
+ from scheduler import schedule_messages
81
81
82
82
async def main():
83
83
messages = [
@@ -116,30 +116,6 @@ The scheduler processes natural language and outputs structured results:
116
116
]
117
117
` ` `
118
118
119
- ## Advanced Configuration
120
-
121
- ` ` ` python
122
- import asyncio
123
- from whatsapp_scheduler import WhatsAppScheduler
124
-
125
- async def advanced_scheduling():
126
- scheduler = WhatsAppScheduler(
127
- debug=True,
128
- compose_messages=True, # Enable AI message composition
129
- session_persist=True # Save login session
130
- )
131
-
132
- # Custom scheduling with time zones
133
- await scheduler.schedule_message(
134
- contact="John",
135
- message="Meeting reminder",
136
- time="2025-01-15 14:30",
137
- timezone="US/Pacific"
138
- )
139
-
140
- asyncio.run(advanced_scheduling())
141
- ` ` `
142
-
143
119
## Source Code
144
120
145
121
Full implementation : [https :// github.com/browser-use/browser-use/tree/main/examples/apps/msg-use](https://github.com/browser-use/browser-use/tree/main/examples/apps/msg-use)
0 commit comments