Skip to content

Commit 893e3e2

Browse files
committed
Updated docs
1 parent fc7bb70 commit 893e3e2

File tree

1 file changed

+5
-29
lines changed

1 file changed

+5
-29
lines changed

docs/examples/apps/msg-use.mdx

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cd browser-use/examples/apps/msg-use
4545

4646
First-time setup requires QR code scanning:
4747
```bash
48-
python whatsapp_login.py
48+
python login.py
4949
```
5050
- Scan QR code when browser opens
5151
- Session will be saved for future use
@@ -62,22 +62,22 @@ python whatsapp_login.py
6262

6363
2. **Test mode** - See what will be sent:
6464
```bash
65-
python whatsapp_scheduler.py --test
65+
python scheduler.py --test
6666
```
6767

6868
3. **Run scheduler**:
6969
```bash
70-
python whatsapp_scheduler.py
70+
python scheduler.py
7171
7272
# Debug Mode - See the browser in action
73-
python whatsapp_scheduler.py --debug
73+
python scheduler.py --debug
7474
```
7575

7676
## Programmatic Usage
7777

7878
```python
7979
import asyncio
80-
from whatsapp_scheduler import schedule_messages
80+
from scheduler import schedule_messages
8181
8282
async def main():
8383
messages = [
@@ -116,30 +116,6 @@ The scheduler processes natural language and outputs structured results:
116116
]
117117
```
118118

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-
143119
## Source Code
144120

145121
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

Comments
 (0)