We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AttributeError Traceback (most recent call last) Cell In[33], line 3 1 profile = webdriver.FirefoxProfile("C:\Users\monuy\AppData\Roaming\Mozilla\Firefox\Profiles\vap17bg9.naukri") 2 #Add your Root directory path ----> 3 driver = webdriver.Firefox(profile) 4 firstname='Abhishek' #Add your LastNAme 5 lastname='Yadav' #Add your FirstName
File C:\Python312\Lib\site-packages\selenium\webdriver\firefox\webdriver.py:60, in WebDriver.init(self, options, service, keep_alive) 57 options = options if options else Options() 59 finder = DriverFinder(self.service, options) ---> 60 if finder.get_browser_path(): 61 options.binary_location = finder.get_browser_path() 62 options.browser_version = None
File C:\Python312\Lib\site-packages\selenium\webdriver\common\driver_finder.py:47, in DriverFinder.get_browser_path(self) 46 def get_browser_path(self) -> str: ---> 47 return self._binary_paths()["browser_path"]
File C:\Python312\Lib\site-packages\selenium\webdriver\common\driver_finder.py:56, in DriverFinder._binary_paths(self) 53 if self._paths["driver_path"]: 54 return self._paths ---> 56 browser = self._options.capabilities["browserName"] 57 try: 58 path = self._service.path
AttributeError: 'FirefoxProfile' object has no attribute 'capabilities'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AttributeError Traceback (most recent call last)
Cell In[33], line 3
1 profile = webdriver.FirefoxProfile("C:\Users\monuy\AppData\Roaming\Mozilla\Firefox\Profiles\vap17bg9.naukri")
2 #Add your Root directory path
----> 3 driver = webdriver.Firefox(profile)
4 firstname='Abhishek' #Add your LastNAme
5 lastname='Yadav' #Add your FirstName
File C:\Python312\Lib\site-packages\selenium\webdriver\firefox\webdriver.py:60, in WebDriver.init(self, options, service, keep_alive)
57 options = options if options else Options()
59 finder = DriverFinder(self.service, options)
---> 60 if finder.get_browser_path():
61 options.binary_location = finder.get_browser_path()
62 options.browser_version = None
File C:\Python312\Lib\site-packages\selenium\webdriver\common\driver_finder.py:47, in DriverFinder.get_browser_path(self)
46 def get_browser_path(self) -> str:
---> 47 return self._binary_paths()["browser_path"]
AttributeError Traceback (most recent call last)
Cell In[33], line 3
1 profile = webdriver.FirefoxProfile("C:\Users\monuy\AppData\Roaming\Mozilla\Firefox\Profiles\vap17bg9.naukri")
2 #Add your Root directory path
----> 3 driver = webdriver.Firefox(profile)
4 firstname='Abhishek' #Add your LastNAme
5 lastname='Yadav' #Add your FirstName
File C:\Python312\Lib\site-packages\selenium\webdriver\firefox\webdriver.py:60, in WebDriver.init(self, options, service, keep_alive)
57 options = options if options else Options()
59 finder = DriverFinder(self.service, options)
---> 60 if finder.get_browser_path():
61 options.binary_location = finder.get_browser_path()
62 options.browser_version = None
File C:\Python312\Lib\site-packages\selenium\webdriver\common\driver_finder.py:47, in DriverFinder.get_browser_path(self)
46 def get_browser_path(self) -> str:
---> 47 return self._binary_paths()["browser_path"]
File C:\Python312\Lib\site-packages\selenium\webdriver\common\driver_finder.py:56, in DriverFinder._binary_paths(self)
53 if self._paths["driver_path"]:
54 return self._paths
---> 56 browser = self._options.capabilities["browserName"]
57 try:
58 path = self._service.path
AttributeError: 'FirefoxProfile' object has no attribute 'capabilities'
The text was updated successfully, but these errors were encountered: