Web Automation Practice

Real-time Chat (Mock)

Instructions: Test a real-time chat interface powered by a mock WebSocket server.

  1. Type a message into the input and click "Send".
  2. Verify that your sent message appears in the chat window.
  3. Wait for the "echo" response from the server and verify it also appears.

Note: While this uses a mock WebSocket, real-world applications may use libraries like Socket.IO, which can have different connection handshakes or message formats but often use WebSockets as a transport.

Live Data Dashboard (Mock)

Instructions: The dashboard below receives updates from the mock WebSocket server every 3 seconds.

Validation: Your script should be able to read the values and verify that they change over time.

Stock Price: $100.00

Active Users: 500