Browser is not running!
I ran the program following the quick start instructions, and it resulted in an error.
python version:3.12.5
Alright, I found that the Chrome installation location on my computer is not the default one.
I have opened PR to fix this. you can look the code there
I have opened PR to fix this. you can look the code there
I don't think this issue has been resolved because my Chrome installation location is not in the standard directory.
Maybe you can add function to this class to choose the directory as options param and create PR for new feature
Hi @arcadia-ai! You can specify the browser location, take a look at this example:
from pydoll.browser.chrome import Chrome
from pydoll.browser.options import Options
async def main():
options = Options()
options.binary_location = '/your/path/to/chrome'
async with Chrome(options=options) as chrome:
....
Also, sorry for the poor documentation, I'll improve during this week :)
Hi @arcadia-ai! You can specify the browser location, take a look at this example:
from pydoll.browser.chrome import Chrome from pydoll.browser.options import Options
async def main(): options = Options() options.binary_location = '/your/path/to/chrome'
async with Chrome(options=options) as chrome: .... Also, sorry for the poor documentation, I'll improve during this week :)
Yes, I have set the chrome path as you recommended, and this chrome is the stable version I downloaded based on this link https://googlechromelabs.github.io/chrome-for-testing/, but it seems that even this will have such a problem