Kalebu / alright

Python wrapper for WhatsApp web-based on selenium
https://www.youtube.com/watch?v=yitQTt-NukM
MIT License
355 stars 109 forks source link

Alright with Edge #77

Closed DevLucasLourenco closed 1 year ago

DevLucasLourenco commented 1 year ago

Can i use the alright with the edge? i'm trying to use it, but everytime is shown to me a new error

There's the code:

from alright import WhatsApp from selenium import webdriver from selenium.webdriver.edge.service import Service as EdgeService from webdriver_manager.microsoft import EdgeChromiumDriverManager

driver = webdriver.Edge(service=EdgeService(EdgeChromiumDriverManager().install())) messenger = WhatsApp()

(I made it at the company that i work, but there i was using google. I felt the problem that u are being showed, about the xpath, and made what the people on de issues said, and worked. But now, i brought it to my house and i don't use google chrome, just edge)

Kalebu commented 1 year ago

Hi @LucasLourencoo

Can you please share a snapshot of the error messages you're getting?

@euriconicacio

DevLucasLourenco commented 1 year ago

image

everytime that i run the same code that i wrote before, this error apears

euriconicacio commented 1 year ago

It is not finding EdgeChromium webdriver, as the error says. We can try to improve this and catch it as an exception, @Kalebu.

@LucasLourencoo, could you please download/upgrade your EdgeChromium driver here and retrying?

Thanks.

euriconicacio commented 1 year ago

Closing this since it has been unanswered for 2 months.