# ValueError: Argument 'url' got value 'https://www.google.com' that cannot be converted to None

**URL:** <https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466>\
**Category:** SeleniumLibrary\
**Created:** [27 September 2021 17:31 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466 "2021-09-27T17:31:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijay1980](https://avatars.discourse-cdn.com/v4/letter/v/53a042/32.png) [@vijay1980](https://forum.robotframework.org/u/vijay1980)\
**Post date:** [27 September 2021 17:31 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/1 "2021-09-27T17:31:16Z")

</div>

when I run the robot script in pycharm getting below error  
**ValueError: Argument ‘url’ got value ‘[https://www.google.com](https://www.google.com)’ that cannot be converted to None.**

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/ceefa8a743d8872adb78adb8be8aedb48dd5c6bc.png)

---

<div class="post-metadata">

**Author:** ![Wolfe1](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/wolfe1/32/3386_2.png) [@Wolfe1](https://forum.robotframework.org/u/Wolfe1)\
**Post date:** [27 September 2021 17:44 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/2 "2021-09-27T17:44:40Z")

</div>

@vijay1980 I don’t think Selenium **2** Library is supported anymore. You should instead use SeleniumLibrary

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [28 September 2021 09:01 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/3 "2021-09-28T09:01:15Z")

</div>

I don’t know why you used `Open_browser` instead of `Open Browser` which is the correct keyword.

Try with the correct name.

---

<div class="post-metadata">

**Author:** ![Wolfe1](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/wolfe1/32/3386_2.png) [@Wolfe1](https://forum.robotframework.org/u/Wolfe1)\
**Post date:** [28 September 2021 18:55 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/4 "2021-09-28T18:55:02Z")

</div>

The name shouldn’t be an issue here.

As far as I am aware Robotframework is simply making underscores in the [python method](https://github.com/robotframework/SeleniumLibrary/blob/master/src/SeleniumLibrary/keywords/browsermanagement.py#L60) into spaces. So calling `Open Browser` or `open_browser` or `seleniumLibrary.open_browser` should all get you to the same place.

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [28 September 2021 20:21 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/5 "2021-09-28T20:21:54Z")

</div>

I only mentioned because the error is suggesting expecting None for url, and that makes me think the user is using a different keyword.

---

<div class="post-metadata">

**Author:** ![JHooks](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/jhooks/32/2142_2.png) [@JHooks](https://forum.robotframework.org/u/JHooks)\
**Post date:** [7 December 2022 18:27 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/6 "2022-12-07T18:27:56Z")

</div>

I’m experiencing this same issue now. I was working along just fine and then had a test where I was going to try the DataDriver Library. So, in my PyCharm, I added that Library to my interpreter. Then I decided to go a different route. Suddenly, that test would no longer even recognize my URL. I ran a completely different test case that had nothing to do with this one and that wouldn’t run either.  
I then created a very simple, new test, to just “Open Browser” and go to Google. That one wouldn’t execute at all. I am now completely blocked from running ANY of my tests because of this issue. The only actions I took were to install the DataDriver Library. I’ve since uninstalled it, deleted the affected test case and still. Nothing. So frustrating. Has anybody heard of this happening before?

---

<div class="post-metadata">

**Author:** ![lihehe221](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@lihehe221](https://forum.robotframework.org/u/lihehe221)\
**Post date:** [16 March 2023 01:35 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/7 "2023-03-16T01:35:14Z")

</div>

Try to pip robotframework==3.2

---

<div class="post-metadata">

**Author:** ![robinmackaij](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/robinmackaij/32/126_2.png) [@robinmackaij](https://forum.robotframework.org/u/robinmackaij)\
**Post date:** [25 March 2023 11:01 UTC](https://forum.robotframework.org/t/valueerror-argument-url-got-value-https-www-google-com-that-cannot-be-converted-to-none/2466/8 "2023-03-25T11:01:03Z")

</div>

Why would you force installation of a Robot Framework version that is years old instead of the most recent release?
