Java Selenium Library Program to Automate Omegle Website to Send Messages Through Bot in Browser Full Project For Beginners

 

 

mainclass.java

 

 

package org.rb.chatbot.core;

import java.util.ArrayList;
import java.util.Arrays;


/**
 * This is the glue that sticks the webhandler functions together.
 * 
 * @author RB
 * 
 */
public class MainClass {

    /**
     * A starting point for the code. Nothing much in here. Move along
     * 
     * @param args
     * @throws Exception
     */
    public static void main(String[] args) throws Exception {
        Boolean isOwnerPresent = false;
        ArrayList<String> topics = new ArrayList<String>(Arrays.asList("love","valentine", "romance", "lovers"));
        ValentineBot.startValentineBotChat(isOwnerPresent, topics);
    }
}

 

 

OmegleValentineBot

Usage:

  • Goes on Omegle.
  • Enters a few topics.
  • Starts messaging.
  • Back to Step 1

Technical Info:

  • The code is written in Java.
  • Selenium is used to interact with Omegle.

 

 

DOWNLOAD FULL SOURCE CODE

 

Leave a Reply