Всем привет!
скопировал скрип от сюда
https://stackoverflow.com/questions/47042409/how-t...
но не могу запустить скрипт, ошибка:
File "screenshoter.py", line 12
url = "
https://google.com/"
^
SyntaxError: invalid syntax
from selenium import webdriver
from selenium.webdriver import ChromeOptions
from Common_Methods.GenericMethods import *
import pyautogui #<== need this to click on extension
options = ChromeOptions()
options.add_argument("--load-extension=" + r"C:\Users\Marshall\AppData\Local\Google\Chrome\User Data\Default\Extensions\fdpohaocaechififmbbbbbknoalclacl\6.5_0") #<== loading unpacked extension
driver = webdriver.Chrome(executable_path=os.path.join(chrome_options=options)
url = "https://google.com/"
driver.get(url)
# get the extension box
extn = pyautogui.locateOnScreen(os.path.join(GenericMethods.get_full_path_to_folder('autogui_ref_snaps') + "/capture_full_screenshot.png"))
# click on extension
pyautogui.click(x=extn[0],y=extn[1],clicks=1,interval=0.0,button="left")
Подскажите , пожайлуйста, в чем проблема ?