Ask coding questions

← Back to all posts
Webbot Help
DanielSchwab (1)

https://repl.it/@DanielSchwab/WebbotLogin

Can someone please help me with this?

I am attempting to make a repl that logs into google. (I used a fake email and password in the repl)

When I run the repl it come up with an error that the url for google does not exist.

Thanks!

Commentshotnewtop
AdCharity (169)

Unless I stand corrected, you probably need chrome web driver activated.

Mendelevium (32)

Go to google, and copy and paste the url from there. If that doesn’t work, just make the url the sign in page and take out a few lines of code. Pretty cool program though!

DanielSchwab (1)

@Mendelevium

Thanks for the idea but I still got the same error.

Mendelevium (32)

@DanielSchwab, I copy and pasted your code and it doesn’t look like you have a url error, it looks like you have an import error.
When I ran your code it looked like from webbot import Browser is invalid. If it’s not let me know

DanielSchwab (1)

@Mendelevium
This is the error

"Traceback (most recent call last):
File "main.py", line 2, in <module>
Browser.go_to('https://accounts.google.com/ServiceLogin/identifier?hl=en&passive=true&continue=https%3A%2F%2Fwww.google.com%2F&flowName=GlifWebSignIn&flowEntry=AddSession')
TypeError: go_to() missing 1 required positional argument: 'url'
"
I do not believe this is an input error, but correct me if I am wrong.

Mendelevium (32)

@DanielSchwab, you are right it is a url error. Maybe it’s not the url but the things before it?

Mendelevium (32)

@DanielSchwab, maybe it’s they way you put in the url.

DanielSchwab (1)

@Mendelevium
Seems likely, I will look into it. Thanks!

Mendelevium (32)

No problem @DanielSchwab, I hope everything works properly.
If you need any help I’ll be sure to see what I can do

Vandesm14 (1273)

Try using https://www.google.com instead

DanielSchwab (1)

@Vandesm14

It was unsuccessful, thank you though!