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

No work a google autorization #35

Open
kolodinartyom opened this issue Jan 17, 2023 · 2 comments
Open

No work a google autorization #35

kolodinartyom opened this issue Jan 17, 2023 · 2 comments

Comments

@kolodinartyom
Copy link

image

@kolodinartyom
Copy link
Author

from selenium import webdriver
from selenium_stealth import stealth
import time

options = webdriver.ChromeOptions()
options.add_argument("start-maximized")

options.add_experimental_option("excludeSwitches", ["enable-automation"])
options.add_experimental_option('useAutomationExtension', False)
driver = webdriver.Chrome(options=options, executable_path=r"C:\Users\DIPRAJ\Programming\adclick_bot\chromedriver.exe")

stealth(driver,
user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' ,
languages=["en-US", "en"],
vendor="Google Inc.",
platform="Win32",
webgl_vendor="Intel Inc.",
renderer="Intel Iris OpenGL Engine",
fix_hairline=True,
)

url = "https://search.google.com/search-console/welcome?utm_source=about-page"
driver.get(url)
time.sleep(500)
driver.quit()

@kolodinartyom
Copy link
Author

it is no work(

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

1 participant