from selenium import webdriver
d = webdriver.Chrome("/usr/bin/chromedriver")
d.get("https://google.co.in")
error:
[Running] python -u "/home/nourhene/py/hi.py"
Traceback (most recent call last):
File "/home/nourhene/py/hi.py", line 11, in <module>
d = webdriver.Chrome("/usr/bin/chromedriver")
File "/home/nourhene/.local/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "/home/nourhene/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/home/nourhene/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/nourhene/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/nourhene/.local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed
(Driver info: chromedriver=2.26.436382 (70eb799287ce4c2208441fc057053a5b07ceabac),platform=Linux 4.4.0-19041-Microsoft x86_64)
python selenium webdriver chrome
241 Views Asked by nourhene hammouda At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in SELENIUM
- Can't get Selenium element
- Trying to find HREF from table with Selenium in Python
- Python | How i get the link of products that doesn't have href with selenium
- Selenium works only when I'm connected to a remote server
- Logging in automation using Selenium requests / responses- why it wont work?
- Why can't I scrape data from etherscan
- TypeError: 'SwitchTo' object is not callable
- Why driver.get doesn't work in Python Selenium when using Profile
- Trying to fill out an online form using selenium but it can't find the element
- Targeting Accept Policy With Selenium
- Python Selenium - Select Options not returning all the options
- Spraping data from a table is slow but uncertain why
- Unable to convert byte[] image to base64 using cucumber scenario api's - java selenium
- Selenium WebDriver - google account login problem using python
- Click on login button using Selenium
Related Questions in SELENIUM-WEBDRIVER
- Selenium Python - The element I'm looking for cant be found even though it exists in Yahoo Finance
- I am automating web scraping using python
- Linkedin API for median tenure
- How can I find a button element and click on it?
- Scrolling Instagram Followers Not Working
- Need Help Extracting Redirect URL from a div Element with Specific Class Name in Python Selenium
- Selenium clicked button but still getting error and exiting
- RSpec Capybara throwing Selenium error when trying to click a button with browser confirm
- beautifulsoup library not showing below #document data inside iframe tag in python
- Retreive a javascript variable from selenium (mutationobserver) to python
- C# Error: 'ExtentReports' is a namespace but is used like a type
- How to call Python function in JavaScript environment on Selenium?
- Run automated tests in parallel on desktop and mobile browser
- Optimizing Selenium script for faster execution
- Parse Dynamic Power BI table with selenium
Related Questions in SELENIUM-CHROMEDRIVER
- Selenium ChromeDriver
- How can I find a button element and click on it?
- Bot for investing
- How do i automatically upload pictures from a folder onto canva using python?
- Encountering a problem to interact with a weird button which is a combobox (select)
- @TestNg [TestNG] No tests found. Nothing was run Usage: <main class> [options] The XML suite files to run
- Extract embedded video source link python selenium
- Chrome Selenium CDP Bidi API - Next Commands sended to Target Session have no effect while the initial one does work
- Error: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
- Why is the copied XPATH not working for selenium?
- Selenium with Chromium driver on Raspberry Pi
- Selenium java error :: unknown error: unhandled inspector error: {"code":-32000,"message":"Not attached to an active page"}
- SessionNotCreatedException: Chrome failed to start: exited normally. (session not created: DevToolsActivePort file doesn't exist)
- Python Selenium Chrome Driver version 123.0.6312.86
- How can I run seleniumbase inside docker?
Related Questions in SELENIUM-WEBDRIVER-PYTHON
- Selenium python: Unable to parse data in <object> tag with #document section - Error:NoSuchElementException
- Python - Selenium autmation tab is getting closed automatically after execution
- How to click menu element in Wordpress admin panel using Selenium
- Error while trying to locate Web Elements with Selenium WebDriver
- Getting data based on multiple values in Selenium
- Null values found in w3c capabilities. Keys are: [browserVersion] - Selenium Grid 4 with python
- Trying to interact with HTML page elements, but none of them are found
- Selenium webdriver for both versions of chrome 114 and 116
- I am struggeling to run my selenium-python scripts in a new tab of the chrome browser where my jupyter notebook runs
- how to navigate through multiple pages of a website python
- access element html using selenium python
- TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path' error using Selenium Python
- Selenium & Python - Webdriver manager causes UnicodeEncodeError
- unable to import selenium.webdriver.common.keys Does anyone knows how to solve this?
- cannot scroll to the top from down until it reaches the top of the page using Selenium Python
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You are on Windows so it should be:
Instead of: