Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attendance and Goodbye messages #27

Open
Nauj-Montes opened this issue Nov 10, 2020 · 3 comments
Open

Attendance and Goodbye messages #27

Nauj-Montes opened this issue Nov 10, 2020 · 3 comments

Comments

@Nauj-Montes
Copy link

Nauj-Montes commented Nov 10, 2020

Adding attendance and goodbye messages for this code, is a proper manner to at least say Hi👋🏽 and goodbye👋🏽 in the chat while you're not even getting into classes 🤣🤷🏽‍♂️.

Just after the chromium gets into the call...

        console.log("Successfully joined/Sent join request")

        await this.page.waitForTimeout(4000)
        console.log("\nWriting attendance message....")
        await this.page.click("span.DPvwYc.sm8sCf.KdraA")

        //Attendance message
        await this.page.waitForTimeout(4000)
        await this.page.focus("textarea.KHxj8b.tL9Q4c")
        console.log("\nWriting message...")
        await this.page.keyboard.type("your attendance message", {
            delay: 0
        })

        await this.page.waitForTimeout(500)
        await this.page.click("span.DPvwYc.e3AdI")
        console.log("\nMessage sent!")

1

And in the same block as the call ends....

async end() {
    //Goodbye message


    await this.page.focus("textarea.KHxj8b.tL9Q4c")
    console.log("\nSaying Goodbye...")

    await this.page.keyboard.type("your goodbye message", {
        delay: 0
    })

    await this.page.waitForTimeout(500)
    await this.page.click("span.DPvwYc.e3AdI")
    console.log("\nAll done!")
    await this.page.waitForTimeout(2000)
    await this.browser.close();
}

2

@Nauj-Montes
Copy link
Author

Nauj-Montes commented Nov 12, 2020

🤔I was thinking that maybe I could add a textbox in the localhost page itself, so you can write a personalized messages for every scheduled meeting, I will work on that 💪🏼.

@AmanRaj1608
Copy link
Owner

Nice Idea @Nauj-Montes
Do you want to work on this?

@Nauj-Montes
Copy link
Author

Nice Idea @Nauj-Montes
Do you want to work on this?

Yeah, I would like to :).
I'm not even an amateur at coding, but I will try my best at getting this thing I'm proposing.✌🏼🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants