My code (main.py, line 17) keeps saying invalid syntax

Please someone tell me how to fix this
https://replit.com/@GaigeVartan/Cisco-Umbrella-bypass

Maybe because the web address should be in a string …

1 Like

I tried, it didnt work, both times it just underlined it and write invalid syntax

It also might just be that I’m new to coding and kinda dumb so I’m getting something really obvious wrong

Hi @GaigeVartan as well as putting the URL in quotes you should remove the space before the brackets and add a colon after https but before //

image

should become

driver.get('https://www.google.com')

Just as a warning this Repl cannot be forked because it may break the Terms of Service for using Replit. If for example you were using this Repl to bypass school network filters it would have to be removed from the site.

5 Likes

We all make dumb errors, no matter how much of a beginner we might be,
The line of the errors, you need to use a string for the address like this

driver.get('https://www.google.com/')
5 Likes

As I can see the code
Change

driver.get(https//www.google.com/)

To

driver.get('https://www.google.com/')