# Chrome error with Selenium

**URL:** <https://forum.robotframework.org/t/chrome-error-with-selenium/5467>\
**Category:** SeleniumLibrary\
**Created:** [20 March 2023 08:24 UTC](https://forum.robotframework.org/t/chrome-error-with-selenium/5467 "2023-03-20T08:24:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bala](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Bala](https://forum.robotframework.org/u/Bala)\
**Post date:** [20 March 2023 08:24 UTC](https://forum.robotframework.org/t/chrome-error-with-selenium/5467/1 "2023-03-20T08:24:56Z")

</div>

I am using the below code to read the Excel file for the parameter.

```plaintext
***settings***
Library SeleniumLibrary
Library DataDriver ./Woodruff/Testscripts/Data/Data1.xlsx sheet_name=Sheet1
Test Template EXCELWORK1

***Variables***
${searchbox} xpath:/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/textarea
${URLGoogle} www.google.com

***test cases***
EXCELWORK1 using ${Stateofincorporation}

***Keywords***
EXCELWORK1
    [Arguments] ${Stateofincorporation}
    Open Browser ${URLGoogle} Chrome
    Maximize Browser Window
    Wait Until Element Is Visible ${searchbox}
    Input Text ${searchbox} ${Stateofincorporation}
    Log To Console ${StateofIncorporation}

```

**DATA FILE : Data1.xlsx**  
|${NamedInsured}|${Stateofincorporation}|  
|Alakona Corp.|Michigan|

I am getting the below error while the brower opens and stops immediately. I have also updated my Chromedriver.

```python
==============================================================================
Test
==============================================================================
EXCELWORK1                                                            
DevTools listening on ws://127.0.0.1:55621/devtools/browser/5ac5d66f-2288-4baa-9322-1d3a30dbb9fe
EXCELWORK1 | FAIL |
InvalidArgumentException: Message: invalid argument
  (Session info: chrome=111.0.5563.65)
Stacktrace:
Backtrace:
        (No symbol) [0x008F37D3]
        (No symbol) [0x00888B81]
        (No symbol) [0x0078B230]
        (No symbol) [0x0077D8AB]
        (No symbol) [0x0077BEA7]
        (No symbol) [0x0077C518]
        (No symbol) [0x0078CF4C]
        (No symbol) [0x007F1E01]
        (No symbol) [0x007DB41C]
        (No symbol) [0x007F1215]
------------------------------------------------------------------------------
Test | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Output: D:\AUTO\output.xml
Log: D:\AUTO\log.html
Report: D:\AUTO\report.html

```

Unable to get what the error is about.  
Can anyone help?

---

<div class="post-metadata">

**Author:** ![Pramesh](https://avatars.discourse-cdn.com/v4/letter/p/848f3c/32.png) [@Pramesh](https://forum.robotframework.org/u/Pramesh)\
**Post date:** [20 March 2023 10:10 UTC](https://forum.robotframework.org/t/chrome-error-with-selenium/5467/2 "2023-03-20T10:10:24Z")

</div>

Try replacing `http://www.google.com` with `https://www.google.com/` and see if it works.

---

<div class="post-metadata">

**Author:** ![Bala](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Bala](https://forum.robotframework.org/u/Bala)\
**Post date:** [20 March 2023 10:20 UTC](https://forum.robotframework.org/t/chrome-error-with-selenium/5467/4 "2023-03-20T10:20:37Z")

</div>

It worked. The URL was the issue. thanks.  
[https://www.google.com](https://www.google.com) worked.
