Skip to content

Instantly share code, notes, and snippets.

@KaushikShresth07
Created September 11, 2023 13:22
Show Gist options
  • Select an option

  • Save KaushikShresth07/0010f56661a1aa58af60897df49f07d8 to your computer and use it in GitHub Desktop.

Select an option

Save KaushikShresth07/0010f56661a1aa58af60897df49f07d8 to your computer and use it in GitHub Desktop.
'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2'
@Kartikdixit2468

Copy link
Copy Markdown

@Random520 Bro your path to chrome driver is incorrect. please make sure you have given it a right path

@Kartikdixit2468

Copy link
Copy Markdown

@Random520 Bro I have completed his Jarvis project for my project in competition; I have solved all the issues and errors that are arising in automating the websites; and I have also integrated my sklearn prediction model with it. If you want, I can give you the source code.

@Anshu370

Anshu370 commented Nov 29, 2023

Copy link
Copy Markdown

@Kartikdixit2468 bro pls provide source code as well also explain how do you had resolved it.

@Anshu370

Copy link
Copy Markdown

@Random520 where to give path to chrome driver

@jat-is-here

Copy link
Copy Markdown

Thanks

@Anshu370

Copy link
Copy Markdown

Bro where to give path

@Gabrial-8467

Copy link
Copy Markdown

error is coming

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@praveenpersonalpc

Copy link
Copy Markdown

bro error is coming

service = service(ChromeDriverManager().install())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

@DhanushKumar-R

Copy link
Copy Markdown

bro I got SSL certificate error

@aniket-coder-arch

Copy link
Copy Markdown

bro error is coming --- driver = webdriver.chrome(service=service, options=chrome_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'module' object is not callable

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager #pip install webdriver_manager
from time import sleep
import pathlib

ScriptDir = pathlib.Path().absolute()

chrome_option = Options()
user_agent = 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2'
chrome_option.add_argument(f'user-agent={user_agent}')
chrome_option.add_argument('--profile-directory=Default')
chrome_option.add_argument(f'--user-data-dir={ScriptDir}\chromedata')
chrome_option.add_experimental_option("detach", True)
service = Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=service,options=chrome_option)

@DevanshuBhatnagar

Copy link
Copy Markdown

bro I'm facing a problem that i wrote the code and its running successfully and even the pop up remover is working but then the website somehow the security service of website comes into action and then block further sign option
Screenshot 2023-12-28 133802
what should i do?? please help

@Kartikdixit2468

Copy link
Copy Markdown

https://github.com/Kartikdixit2468/Advanced-Jarvis-AI-using-python

Check out this (My Jarvis Project), It's not completed but a Python geek can understand what is happening. I will complete this project & make a proper readme file in some weeks. If anybody wants to contribute to this project, email me at ๐Ÿ‘‰ kartikdixit2107@gmail.com

@Ramnaam

Ramnaam commented Jan 11, 2024

Copy link
Copy Markdown

@Random520 Bro I have completed his Jarvis project for my project in competition; I have solved all the issues and errors that are arising in automating the websites; and I have also integrated my sklearn prediction model with it. If you want, I can give you the source code.

Please provide me the source code bro

@Kartikdixit2468

Copy link
Copy Markdown

@Ramnaam check bro it's already there, I have given the link in my previous reply.

@Shravan4507

Copy link
Copy Markdown

bro I'm facing a problem that i wrote the code and its running successfully and even the pop up remover is working but then the website somehow the security service of website comes into action and then block further sign option Screenshot 2023-12-28 133802 what should i do?? please help

same issue here

@CjTheju

CjTheju commented Feb 28, 2024

Copy link
Copy Markdown

bro I'm facing a problem that i wrote the code and its running successfully and even the pop up remover is working but then the website somehow the security service of website comes into action and then block further sign option Screenshot 2023-12-28 133802 what should i do?? please help

same issue here

Is your issue solved bro?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment